diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c64967a..a582bae 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -127,9 +127,11 @@ jobs: - name: Upload Artifact uses: actions/upload-pages-artifact@v3 + if: github.ref == 'refs/heads/master' && github.event_name == 'push' with: path: "./dist/" retention-days: 7 - name: Deploy + if: github.ref == 'refs/heads/master' && github.event_name == 'push' uses: actions/deploy-pages@v4