Skip to content

Commit

Permalink
Only deploy when pushing to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
anjaldoshi committed Aug 9, 2022
1 parent c9a5dce commit 19e2575
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
# - name: test
# run: cd build && ctest
- name: deploy
if: github.ref == 'refs/heads/main'
env:
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
build_dir: "Build"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
# - name: test
# run: cd build && ctest
- name: deploy
if: github.ref == 'refs/heads/main'
env:
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
build_dir: "Build/Release"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
# - name: test
# run: cd build && ctest
- name: deploy
if: github.ref == 'refs/heads/main'
env:
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
build_dir: "Build/Release"
Expand Down

0 comments on commit 19e2575

Please sign in to comment.