From 080521eea06f6f8b49fef9d1f10b57b0a0177e9a Mon Sep 17 00:00:00 2001 From: Markus Weigelt Date: Fri, 11 Oct 2024 15:17:40 +0200 Subject: [PATCH] Update documentation.yml - Change git ref check from main to master --- .github/workflows/documentation.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: