Skip to content

Commit

Permalink
deploy using actions/deploy-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Nov 19, 2024
1 parent 13e7b7a commit 5915542
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,18 @@ jobs:
deploy-production:
if: github.ref == 'refs/heads/main'
needs: check-and-build

permissions:
pages: write
id-token:: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: artifact
path: deploy
- uses: JamesIves/github-pages-deploy-action@v4
- id: deployment
uses: actions/deploy-pages@v4
with:
folder: deploy
artifact_name: artifact

0 comments on commit 5915542

Please sign in to comment.