Skip to content

Commit ae23476

Browse files
chore: replace call by run (#276)
1 parent 8c390e5 commit ae23476

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,3 @@ jobs:
2222
run: npm run test
2323
- name: Build
2424
run: npm run build
25-
CD:
26-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
27-
needs: CI
28-
uses: ./.github/workflows/release.yml

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Create release
22
on:
3-
workflow_call:
3+
workflow_run:
4+
workflows:
5+
- Build
6+
types:
7+
- completed
8+
branches:
9+
- main
410
permissions:
511
contents: write
612
pages: write

0 commit comments

Comments
 (0)