Skip to content

Commit

Permalink
rust book
Browse files Browse the repository at this point in the history
  • Loading branch information
John Guibas authored and John Guibas committed Feb 11, 2024
1 parent 03d7c6e commit aed7eb2
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,24 +120,24 @@ jobs:
retention-days: 1
if-no-files-found: error

deploy:
# Only deploy if a push to main
# if: github.ref_name == 'main' && github.event_name == 'push'
runs-on: ubuntu-latest
needs: [lint, build]
# deploy:
# # Only deploy if a push to main
# if: github.ref_name == 'main' && github.event_name == 'push'
# runs-on: ubuntu-latest
# needs: [lint, build]

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write
id-token: write
# # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
# permissions:
# pages: write
# id-token: write

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

timeout-minutes: 60
# timeout-minutes: 60

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v2

0 comments on commit aed7eb2

Please sign in to comment.