Bump setup-python and codecov actions and add missing Codecov token r… #159
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gh-pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build the doc | |
run: | | |
cargo doc --all-features --no-deps | |
echo "<meta http-equiv=refresh content=0;url=numpy/index.html>" > target/doc/index.html | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3.7.0-8 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./target/doc/ | |
destination_dir: . | |
full_commit_message: 'Upload documentation for current main' |