diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index 1fc0083..97bd89b 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -23,7 +23,7 @@ jobs: include-hidden-files: true if-no-files-found: error deploy-demo: - if: github.event_name == 'push' + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') needs: [build-demo] runs-on: ubuntu-latest steps: