Skip to content

Commit

Permalink
Merge pull request #2569 from davidhewitt/fix-gh-pages-deploy
Browse files Browse the repository at this point in the history
gh-pages: don't publish whole target directory
  • Loading branch information
davidhewitt committed Aug 20, 2022
2 parents 5def1a0 + 1c02533 commit d2b4c3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gh-pages.yml
Expand Up @@ -58,9 +58,8 @@ jobs:
- name: Build the doc
run: |
cargo xtask doc
mv target/doc target/guide/doc
echo "<meta http-equiv=refresh content=0;url=pyo3/index.html>" > target/guide/doc/index.html
env:
CARGO_TARGET_DIR: target/guide
- name: Deploy docs and the guide
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }}
Expand Down

0 comments on commit d2b4c3a

Please sign in to comment.