Skip to content

Commit

Permalink
Added Inus deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLarcAi committed Jun 20, 2024
1 parent fa6ef5d commit 9144f35
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ jobs:
timeout-minutes: 5

deploy:
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_book
id: deployment
uses: actions/deploy-pages@v3

0 comments on commit 9144f35

Please sign in to comment.