Skip to content

Commit

Permalink
Updated astro and deploy pages actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Supergamer1337 committed Aug 19, 2024
1 parent e9bdcdd commit d1e2eea
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
uses: ./.github/workflows/build_all.yml

deploy:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down Expand Up @@ -62,11 +65,10 @@ jobs:
rm -rf pdfs
- name: Install, build and upload site output
uses: withastro/action@v0
uses: withastro/action@v2
with:
path: site
package-manager: pnpm


- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit d1e2eea

Please sign in to comment.