Skip to content

Commit b279b16

Browse files
committed
ci: revert ci changes
1 parent cf1bef9 commit b279b16

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
name: deploy
44
on:
5-
workflow_run:
6-
workflows: ['test']
7-
types:
8-
- completed
5+
pull_request:
6+
branches:
7+
- main
8+
push:
9+
branches:
10+
- main
911
workflow_dispatch:
1012
inputs:
1113
environment:
@@ -18,7 +20,6 @@ concurrency:
1820

1921
jobs:
2022
cloudflare-pages-deploy:
21-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
2223
permissions:
2324
actions: read
2425
contents: read

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ name: release
44

55
on:
66
workflow_run:
7-
workflows: [test, check dist]
8-
branches: [main]
9-
types: [completed]
7+
workflows:
8+
- test
9+
branches:
10+
- main
11+
types:
12+
- completed
1013

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

0 commit comments

Comments
 (0)