diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index b585a63..7381ca9 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -164,10 +164,12 @@ jobs: uses: actions/upload-pages-artifact@v3 with: path: 'website' + if: github.ref == 'refs/heads/main' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 + if: github.ref == 'refs/heads/main' compare: runs-on: ubuntu-latest