diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 94084e1..62146e2 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -14,8 +14,8 @@ jobs: concurrency: group: ${{ github.workflow }}-${{ github.ref }} env: - UPA_DEPLOY: ${{ github.ref == 'refs/heads/main' }} - UPA_DOCS_REPOSITORY: url-upa/docs + UPA_DEPLOY: ${{ github.ref == 'refs/heads/main' || '' }} + UPA_DOCS_REPOSITORY: upa-url/docs UPA_DOCS_DIR: main steps: - uses: actions/checkout@v4 @@ -38,6 +38,7 @@ jobs: - name: Prepare directory for publication if: env.UPA_DEPLOY run: | + sudo chown --recursive $USER doc/html mkdir -p build-docs rm -rf build-docs/.git rm -rf build-docs/common