Skip to content

Commit

Permalink
fix (docs): Missing GH_TOKEN for pulling offline docs (#2168)
Browse files Browse the repository at this point in the history
github-cli requires be given a token in order work inside github actions

Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>
  • Loading branch information
Zeglius authored Jan 27, 2025
1 parent a04a327 commit 17f33c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,12 @@ jobs:
uses: actions/checkout@v4

# Prepare offline documentation
- id: download_offline_docs
- name: Download offline docs
id: download_offline_docs
continue-on-error: true
env:
docs_repo: KyleGospo/docs.bazzite.gg
GH_TOKEN: ${{ github.token }}
run: |
DOCS_DIR="${{ github.workspace }}/system_files/desktop/shared/usr/share/ublue-os/docs/html"
mkdir -p $DOCS_DIR
Expand Down

0 comments on commit 17f33c2

Please sign in to comment.