Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Luca Lagmöller committed Feb 9, 2024
1 parent 1f2a3ca commit aa0d224
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 1,258 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ jobs:
publish:
name: Publish
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand All @@ -24,8 +30,12 @@ jobs:
- name: Build
run: npm run build

- name: Deploy to GH Pages 🚀
uses: peaceiris/actions-gh-pages@v3
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build
path: "build"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Loading

0 comments on commit aa0d224

Please sign in to comment.