diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index dc7e6af..ce697ff 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -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