diff --git a/.github/workflows/render_and_deploy.yml b/.github/workflows/render_and_deploy.yml index 2afe9f6..8567873 100644 --- a/.github/workflows/render_and_deploy.yml +++ b/.github/workflows/render_and_deploy.yml @@ -47,8 +47,8 @@ jobs: cp -r img build/ - name: Deploy - if: github.event_name == 'push' && github.ref_type == 'tag' + if: github.event_name == 'push' && github.ref_name == 'main' uses: JamesIves/github-pages-deploy-action@v4 with: folder: build - \ No newline at end of file +