diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index a9f2be7..5d52cc0 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -29,13 +29,13 @@ jobs: - name: Store build artifact uses: actions/upload-artifact@v4 - if: github.ref == 'refs/heads/master' + if: github.ref_name == github.event.repository.default_branch with: name: build path: dist/ deploy: - if: github.ref == 'refs/heads/main' + if: github.ref_name == github.event.repository.default_branch runs-on: ubuntu-latest