Skip to content

Commit

Permalink
Better GH Pages Deployment #2
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaschka committed Jun 5, 2024
1 parent 148e842 commit 430c808
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ on:

jobs:
deploy:
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -32,7 +39,7 @@ jobs:
uses: actions/upload-pages-artifact@v2
with:
# upload entire directory
path: './_site'
path: "./_site"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 430c808

Please sign in to comment.