From b00a52d2b4552badf976ba32775881abf8a90b09 Mon Sep 17 00:00:00 2001 From: Luca Zeuch Date: Fri, 22 Dec 2023 12:22:08 +0100 Subject: [PATCH] fixup! ci: fix cache, improve feedback and build times --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9b7809f..4e04901 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -48,19 +48,19 @@ jobs: run: hugo --noChmod --minify --baseURL="https://botlabs-gg.github.io/yagpdb-docs-v2" - name: Setup Pages - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} id: pages uses: actions/configure-pages@v4 - name: Upload artifact - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} uses: actions/upload-pages-artifact@v2 with: path: ./public deploy: - # Only deploy if it's actually on main branch - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + # Only deploy if it's actually on production branch + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} needs: build environment: name: github-pages