Skip to content

Commit

Permalink
Update deploy_docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-zu authored Jan 11, 2024
1 parent 8bc08c4 commit 94afe35
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,20 @@ jobs:
profile: minimal
override: true
components: rustfmt, rust-src

- name: Build Documentation
uses: actions-rs/cargo@v1
with:
command: doc
args: --all --no-deps

- name: Fix permissions
run: |
chmod -c -R +rX "target/doc" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'target/doc'
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 94afe35

Please sign in to comment.