diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index fb7e11cf..c648c8a1 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -25,10 +25,15 @@ jobs: run: npm ci - name: Build documentation run: npm run doc + - name: Fix permissions + run: | + chmod -c -R +rX "./documentation/" | while read line; do + echo "::warning title=Invalid file permissions automatically fixed::$line" + done - name: Archive artifact run: tar --dereference --hard-dereference -cvf "$RUNNER_TEMP/artifact.tar" ./documentation/ - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v2 with: name: format('{0}/backend', ${{ github.ref_name }}) path: ${{ runner.temp }}/artifact.tar