Skip to content

Commit

Permalink
chore: modified deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zerothebahdman committed Apr 5, 2024
1 parent 446ec7b commit c4d175f
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: Publish package to NPM registry

# on:
# workflow_run:
# workflows: [CI]
# branches: [main]
# types: [completed]

on:
push:
branches:
- release
pull_request:
branches:
- release
workflow_run:
workflows: [CI]
branches: [main]
types: [completed]

# on:
# push:
# branches:
# - release
# pull_request:
# branches:
# - release

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
publish:
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down

0 comments on commit c4d175f

Please sign in to comment.