Skip to content

Commit

Permalink
CI: fix permission for page artifact.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlejeune74 committed Jan 1, 2024
1 parent c7970c0 commit 430cee8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ jobs:
run: cargo doc --no-deps
- name: Publish doc page
run: rm -rf ./docs && echo "<meta http-equiv=\"refresh\" content=\"0; url=boulder_rust\">" > target/doc/index.html && touch target/doc/.nojekyll && cp -r target/doc ./docs
- uses: actions/upload-artifact@v2
with:
path: ./docs
- name: Fix permissions
run: |
chmod -c -R +rX "./docs" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit 430cee8

Please sign in to comment.