diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index c7e02863f..689899b30 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -2,7 +2,6 @@ name: Website on: push: - branches: main workflow_dispatch: schedule: @@ -53,6 +52,7 @@ jobs: path: dist/website deploy-github-pages: + if: ${{ github.ref == 'refs/heads/main' }} name: Deploy to GitHub Pages runs-on: ubuntu-latest needs: build