Skip to content

Commit 5423f21

Browse files
committed
Cleanup github action
1 parent 6c74947 commit 5423f21

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/deploy-examples.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
name: Deploy Examples
22
on:
3-
workflow_dispatch:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
47
schedule:
58
- cron: "0 0 * * 0"
9+
workflow_dispatch:
610
jobs:
711
deploy:
12+
name: Deploy Examples
813
runs-on: ubuntu-latest
914
steps:
1015
- name: Checkout
1116
uses: actions/checkout@v3
1217
with:
1318
repository: petitparser/dart-petitparser-examples
1419
- name: Install
15-
uses: dart-lang/setup-dart@v1.3
20+
uses: dart-lang/setup-dart@v1
1621
- name: Build
1722
run: |
1823
dart pub get

0 commit comments

Comments
 (0)