File tree Expand file tree Collapse file tree 1 file changed +20
-10
lines changed Expand file tree Collapse file tree 1 file changed +20
-10
lines changed Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : Deploy Serverless SSR
2
2
3
3
on :
4
4
repository_dispatch :
5
5
types : netlify-complete
6
6
7
7
jobs :
8
- build :
8
+ deploy :
9
+ name : deploy
9
10
runs-on : ubuntu-latest
10
-
11
11
steps :
12
- - uses : actions/checkout@v1
13
- - name : Run a one-line script
14
- run : echo Hello, world!
15
- - name : Run a multi-line script
16
- run : |
17
- echo Add other actions to build,
18
- echo test, and deploy your project.
12
+ - uses : actions/checkout@master
13
+ - name : yarn install
14
+
15
+ with :
16
+ cmd install
17
+ - name : yarn download:stats
18
+
19
+ with :
20
+ cmd download:stats
21
+ - name : serverless deploy
22
+ uses : serverless/github-action@master
23
+ with :
24
+ args : deploy
25
+ env :
26
+ # or if using AWS creds directly
27
+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
28
+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_KEY }}
You can’t perform that action at this time.
0 commit comments