Skip to content

Commit a59efa1

Browse files
authored
Update schedule.yml
1 parent 44b0046 commit a59efa1

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/schedule.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
name: First GitHub Actions Demo
1+
2+
name: First GitHub Actions
23
on:
34
push:
45
branches:
56
- master
7+
- dev
68

79
jobs:
810
Build:
@@ -17,30 +19,30 @@ jobs:
1719
node-version: '16.14'
1820
cache: 'yarn'
1921
cache-dependency-path: '**/yarn.lock'
20-
22+
2123
- run: yarn install && yarn build
2224

2325
- name: upload files
2426
uses: actions/upload-artifact@v2
2527
with:
26-
name: dist
27-
path: dist
28+
name: build-pages
29+
path: build
2830
retention-days: 1
2931
Deploy:
3032
needs: Build
3133
runs-on: ubuntu-latest
3234
steps:
3335
- name: checkout code
3436
uses: actions/checkout@v2
35-
- name: download dist files
37+
- name: download build files
3638
uses: actions/download-artifact@v2
3739
with:
38-
name: dist
39-
path: dist
40+
name: build-pages
41+
path: build
4042
- name: deploy
4143
uses: JamesIves/github-pages-deploy-action@v4.2.3
4244
with:
4345
branch: dist
44-
folder: dist
46+
folder: build
4547
token: "${{ secrets.AWESOME_CSS_TOKEN }}"
4648

0 commit comments

Comments
 (0)