Skip to content

Commit

Permalink
Push to nuget only if commit was done on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
zsrdjan committed Aug 23, 2024
1 parent c56c7af commit 06672f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
run: ./Build.ps1
shell: pwsh
- name: Push to NuGet
if: github.ref == 'refs/heads/main'
env:
NUGET_URL: https://api.nuget.org/v3/index.json
NUGET_API_KEY: ${{ secrets.NUGET_FRAKTALIO_CI_API_KEY }}
Expand Down

0 comments on commit 06672f2

Please sign in to comment.