Skip to content

Commit

Permalink
Fix permissions??
Browse files Browse the repository at this point in the history
  • Loading branch information
cjburkey01 committed Jun 18, 2024
1 parent 103957d commit e55aa36
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/create_book.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: github pages

permissions:
contents: read
contents: write
pages: write
id-token: write

Expand All @@ -24,13 +24,17 @@ jobs:
- name: Install mdbook
uses: taiki-e/cache-cargo-install-action@v2
# noinspection YAMLSchemaValidation
locked: false
with:
tool: mdbook@0.4.40
tool: mdbook

- name: Install mdbook-i18n-helpers
uses: taiki-e/cache-cargo-install-action@v2
# noinspection YAMLSchemaValidation
locked: false
with:
tool: mdbook-i18n-helpers@0.3.4
tool: mdbook-i18n-helpers

- name: Build the book
run: sh scripts/full-build.sh
Expand All @@ -43,4 +47,4 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: book/
publish_dir: ./book

0 comments on commit e55aa36

Please sign in to comment.