diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 890916e89..5e1893f96 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,6 +28,7 @@ jobs: - name: Run the scraper run: python scraper.py --refresh - name: Deploy 🚀 + if: ${{ github.ref == 'refs/heads/main' }} uses: JamesIves/github-pages-deploy-action@3.7.1 with: GIT_CONFIG_NAME: Code for IATI bot