diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 062fde7..52fcedb 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -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: @@ -82,4 +82,4 @@ jobs: uses: alirezanet/publish-nuget@v3.1.0 with: PROJECT_FILE_PATH: ${{ env.csproj }} - NUGET_KEY: ${{ secrets.TCHAXX_NUGET_API_KEY }} \ No newline at end of file + NUGET_KEY: ${{ secrets.TCHAXX_NUGET_API_KEY }}