davidgasquez / gitcoin-grants-data-portal

🌲 Open source, serverless, and local-first data hub for Gitcoin Grants data!
https://grantsdataportal.xyz/
MIT License
25 stars 3 forks source link

Unify CI files #61

Closed davidgasquez closed 5 months ago

davidgasquez commented 5 months ago

We can do something like this to run the "push" to IPFS.

    # Conditional step that runs only if it's a PR against the main branch
    - name: Conditional step for PR against main
      if: ${{ github.event_name == 'pull_request' && github.base_ref == 'main' }}
      run: |
        echo "This step runs only for PRs against the main branch"