|
|
@ -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 |
|
|
|