Skip to content

Merge pull request #2 from danny-burrows/portfolio #3

Merge pull request #2 from danny-burrows/portfolio

Merge pull request #2 from danny-burrows/portfolio #3

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ main ]
# Allows for manual running of this workflow from the Actions tab.
workflow_dispatch:
# Allow this job to clone the repo and create a page deployment.
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install, build, and upload
uses: withastro/action@v1
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1