Skip to content

Commit

Permalink
Run publish only on release and workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
MridulS authored Aug 11, 2024
1 parent dcbc680 commit 24ce0cf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CD

on:
workflow_dispatch:
pull_request:
push:
branches:
- main
# pull_request:
# push:
# branches:
# - main
release:
types:
- published
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
permissions:
id-token: write
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
# if: github.event_name == 'release' && github.event.action == 'published'

steps:
- uses: actions/download-artifact@v4
Expand Down

0 comments on commit 24ce0cf

Please sign in to comment.