Skip to content

Commit

Permalink
ci: Fix deploy-docs workflow (#4832)
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Sep 12, 2022
1 parent 3317038 commit 21e2318
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docs-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@ jobs:
- name: Prepare deployment
run: |
echo '<meta http-equiv=refresh content=0;url=polars/index.html>' > target/doc/index.html
mkdir target/doc/py-polars
cp -r py-polars/docs/build/html target/doc/py-polars
mv py-polars/docs/build/html target/doc/py-polars
- name: Deploy
run: |
ghp-import -n target/doc
git push -qf https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git gh-pages
# Make sure documentation artifacts are not cached
- name: Clean up docs
run: rm -rf target/docs

0 comments on commit 21e2318

Please sign in to comment.