File tree Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Original file line number Diff line number Diff line change 73
73
run : |
74
74
export PATH="./bin:$PATH"
75
75
npm run lint:prose
76
- build :
77
- name : Build docs
76
+ build-deploy-staging :
77
+ name : Build and deploy to staging
78
78
runs-on : ubuntu-latest
79
79
needs :
80
80
- lint
95
95
run : npm install
96
96
- name : Build project
97
97
run : npm run build
98
- - name : Upload artifact
99
- uses : actions/upload-artifact@v2
100
- with :
101
- name : k6-docs
102
- path : public/
103
- deploy-to-staging :
104
- name : Deploy to staging
105
- runs-on : ubuntu-latest
106
- needs :
107
- - lint
108
- - build
109
- steps :
110
- - name : Checkout project
111
- uses : actions/checkout@v2
112
- - name : Use Node.js 12.xs
113
- uses : actions/setup-node@v1
114
- with :
115
- node-version : ' 12.x'
116
- registry-url : ' https://registry.npmjs.org'
117
- - name : Download artifact
118
- uses : actions/download-artifact@v2
119
- with :
120
- name : k6-docs
121
- path : public/
122
98
- name : Install AWS CLI dependencies
123
99
run : sudo apt-get update && sudo apt-get -y install python-pip python-dev
124
100
- name : Install AWS CLI
You can’t perform that action at this time.
0 commit comments