diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 2b8814ac..abc3abc1 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -1,6 +1,6 @@ name: Documentation # Build and test documentation on pull_request and push event -# If the git reference is the main branch, additionally build the documentation artifact and deploy it to GitHub Pages +# If the git reference is the master branch, additionally build the documentation artifact and deploy it to GitHub Pages on: [ push, pull_request ] @@ -18,11 +18,11 @@ jobs: && docker run -v $(pwd):/project ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --fail-on-log - name: Rename root page - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/master' run: mv ./Documentation-GENERATED-temp/Index.html ./Documentation-GENERATED-temp/index.html - name: Upload artifact - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/master' uses: actions/upload-pages-artifact@v3 with: path: ./Documentation-GENERATED-temp/ @@ -33,7 +33,7 @@ jobs: # Add a dependency to the build job needs: build - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/master' # Grant GITHUB_TOKEN the permissions required to make a Pages deployment permissions: