From 8c4245dc0abdd9a1b9728ac936eed9cbb1be8bb0 Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 7 Jan 2025 20:29:50 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96eb6ab..2659bd7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,11 +21,11 @@ jobs: npm i npm run lint echo ${{github.ref}} - echo ${{contains(github.ref, 'refs/heads/v')}} + echo ${{contains(github.ref, 'refs/tags/v')}} - name: build run: npm run build - name: Deploy prod - if: ${{contains(github.ref, 'refs/heads/v')}} + if: ${{contains(github.ref, 'refs/tags/v')}} uses: ryand56/r2-upload-action@latest with: r2-account-id: ${{ secrets.R2_ACCOUNT_ID }}