Skip to content

Commit

Permalink
Merge pull request #179 from xen0n/fix-deploy-action
Browse files Browse the repository at this point in the history
Fix deploy action
  • Loading branch information
xen0n authored Apr 21, 2024
2 parents 2337c8b + cf1dd1a commit 9047934
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- name: Enable Corepack
- name: Enable Corepack for Yarn Modern
run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -54,14 +54,17 @@ jobs:
runs-on: ubuntu-latest
needs: build_and_upload
permissions:
actions: read
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v1
id: deploy
uses: actions/deploy-pages@v4
with:
artifact_name: 'gh-pages-${{github.sha}}'

0 comments on commit 9047934

Please sign in to comment.