Skip to content

Commit 6c89e1d

Browse files
authored
Update schedule.yml
1 parent c1afc1b commit 6c89e1d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/schedule.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: schedule
2-
3-
on:
4-
schedule:
5-
- cron: "*/1 * * * *"
1+
name: First GitHub Actions Demo
2+
on:
3+
push:
4+
branches:
5+
- master
66

77
jobs:
88
Build:
@@ -17,7 +17,7 @@ jobs:
1717
node-version: '16.14'
1818
cache: 'yarn'
1919
cache-dependency-path: '**/yarn.lock'
20-
20+
2121
- run: yarn install && yarn build
2222

2323
- name: upload files
@@ -26,7 +26,7 @@ jobs:
2626
name: build-pages
2727
path: build
2828
retention-days: 1
29-
Deploy:
29+
Deploy:
3030
needs: Build
3131
runs-on: ubuntu-latest
3232
steps:
@@ -43,3 +43,4 @@ jobs:
4343
branch: dist
4444
folder: dist
4545
token: "${{ secrets.AWESOME_CSS_TOKEN }}"
46+

0 commit comments

Comments
 (0)