We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1afc1b commit 6c89e1dCopy full SHA for 6c89e1d
.github/workflows/schedule.yml
@@ -1,8 +1,8 @@
1
-name: schedule
2
-
3
-on:
4
- schedule:
5
- - cron: "*/1 * * * *"
+name: First GitHub Actions Demo
+on:
+ push:
+ branches:
+ - master
6
7
jobs:
8
Build:
@@ -17,7 +17,7 @@ jobs:
17
node-version: '16.14'
18
cache: 'yarn'
19
cache-dependency-path: '**/yarn.lock'
20
+
21
- run: yarn install && yarn build
22
23
- name: upload files
@@ -26,7 +26,7 @@ jobs:
26
name: build-pages
27
path: build
28
retention-days: 1
29
- Deploy:
+ Deploy:
30
needs: Build
31
runs-on: ubuntu-latest
32
steps:
@@ -43,3 +43,4 @@ jobs:
43
branch: dist
44
folder: dist
45
token: "${{ secrets.AWESOME_CSS_TOKEN }}"
46
0 commit comments