From 506d7efcc298909b72ea46da6ad2da7fffa123ed Mon Sep 17 00:00:00 2001 From: Alex Launi Date: Sun, 14 Jan 2024 11:28:46 -0500 Subject: [PATCH] print github.ref and remove double build step --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2a840fd..8a9b0d5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,6 +23,9 @@ jobs: google-chrome --headless --run-all-compositor-stages-before-draw --print-to-pdf-no-header --print-to-pdf=static/alexlauni-resume.pdf http://localhost:1111/cv kill $ZOLA_PID + - name: Print github.ref (debugging) + run: echo ${{ github.ref }} + - name: Set Build Command for Non-main Branch if: contains(github.ref, 'refs/heads/') && !endsWith(github.ref, '/main') env: @@ -36,9 +39,6 @@ jobs: - name: Build site run: ${{ env.BUILD_COMMAND }} - - name: Build site - run: zola build - - name: Publish to Cloudflare Pages uses: cloudflare/pages-action@v1 with: