Skip to content

Commit

Permalink
Only build on pushes to main
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed Mar 27, 2024
1 parent 5886d85 commit f720749
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f720749

Please sign in to comment.