Skip to content

Commit

Permalink
ci: Enable CD on workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
densogiaichned authored Feb 10, 2024
1 parent 29ecee5 commit 61b709c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
cd-tchaxx-snappy-cli:
needs: ci-tchaxx-snappy-cli
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main'
name: CD - TcHaxx.Snappy.CLI
runs-on: ubuntu-latest
env:
Expand All @@ -82,4 +82,4 @@ jobs:
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: ${{ env.csproj }}
NUGET_KEY: ${{ secrets.TCHAXX_NUGET_API_KEY }}
NUGET_KEY: ${{ secrets.TCHAXX_NUGET_API_KEY }}

0 comments on commit 61b709c

Please sign in to comment.