Skip to content

Commit

Permalink
Merge pull request #14 from torkelrogstad/2024-04-06-ci
Browse files Browse the repository at this point in the history
ci: only upload to releases on main branch push
  • Loading branch information
psztorc authored Apr 6, 2024
2 parents 24b51d4 + b336494 commit 71ce43b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ jobs:
name: Upload artifacts to releases.drivechain.info
runs-on: ubuntu-latest
needs: [build]
if: github.repository_owner == 'LayerTwo-Labs'
# avoid uploading on PRs!
if: github.event_name == 'push' && github.ref == 'refs/heads/sidechain' && github.repository_owner == 'LayerTwo-Labs'
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 71ce43b

Please sign in to comment.