Skip to content

Commit

Permalink
fix: change how we extract docs for publish step (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz authored Feb 24, 2025
1 parent 429f9de commit e96d816
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,16 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: documentation
path: docs
path: .
- name: Create extract directory
run: mkdir -p /tmp/docs
- name: Uncompress generated documentation assets
run: tar xzf docs/docs.tar.gz && rm docs/docs.tar.gz
run: tar -C /tmp/docs -x -z -f ./docs.tar.gz && rm ./docs.tar.gz
- name: Publish to Github Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_dir: /tmp/docs
commit_message: ${{ github.event.head_commit.message }}
enable_jekyll: false
allow_empty_commit: false

0 comments on commit e96d816

Please sign in to comment.