Browse Source

Fix file permissions before upload

pull/30/head
Ian Chamberlain 1 year ago
parent
commit
ba1d357148
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
  1. 8
      .github/workflows/docs.yml

8
.github/workflows/docs.yml

@ -21,10 +21,18 @@ jobs:
- name: Build workspace docs - name: Build workspace docs
run: cargo 3ds --verbose doc --verbose --no-deps --workspace run: cargo 3ds --verbose doc --verbose --no-deps --workspace
# https://github.com/actions/upload-pages-artifact#file-permissions
- name: Fix file permissions
run: |
chmod -c -R +rX "target/armv6k-nintendo-3ds/doc" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload generated docs - name: Upload generated docs
uses: actions/upload-pages-artifact@v2 uses: actions/upload-pages-artifact@v2
with: with:
path: ./target/armv6k-nintendo-3ds/doc path: ./target/armv6k-nintendo-3ds/doc
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build

Loading…
Cancel
Save