diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0f7eca..29f21c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,7 @@ concurrency: jobs: build: + if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest steps: - name: Checkout @@ -66,6 +67,7 @@ jobs: uses: actions/upload-pages-artifact@v3 deploy: + if: github.ref == 'refs/heads/master' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}