diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8a49d7e..46d2d2b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -53,8 +53,8 @@ jobs: run: npm ci --include=dev - name: Build site run: npx next build - # TODO(mrzzy): gate deploy with tag - name: Upload site to b2 + if: ${{ github.ref_type == "tag" }} env: B2_APPLICATION_KEY_ID: "${{ secrets.B2_APPLICATION_KEY_ID }}" B2_APPLICATION_KEY: "${{ secrets.B2_APPLICATION_KEY }}"