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 5, 2022
1 parent 4feb98e commit ef49f8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,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 ef49f8a

Please sign in to comment.