Skip to content

Commit

Permalink
wip: deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored May 6, 2024
1 parent a90d517 commit 717e193
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,20 @@ jobs:
- uses: actions/upload-artifact@v4
if: github.ref == 'refs/heads/main'
with:
name: "github-pages"
path: docs

deploy:
needs: build
if: github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/download-artifact@v4
with:
path: docs
- uses: actions/configure-pages@v4
- uses: actions/deploy-pages@v4
id: deployment

0 comments on commit 717e193

Please sign in to comment.