File tree Expand file tree Collapse file tree 1 file changed +3
-43
lines changed Expand file tree Collapse file tree 1 file changed +3
-43
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ version: 2.1
2
2
3
3
orbs :
4
4
rok8s : fairwinds/rok8s-scripts@11
5
+ oss-docs : fairwinds/oss-docs@0
5
6
6
7
executors :
7
8
vm :
@@ -205,48 +206,6 @@ jobs:
205
206
- setup_remote_docker
206
207
- *set_environment_variables
207
208
- *docker_build_and_push
208
- publish_docs :
209
- docker :
210
- - image : cimg/node:15.5.1
211
- steps :
212
- - checkout
213
- - run :
214
- name : Build Docs Site
215
- command : |
216
- set -e
217
- cd ./docs
218
- npm install
219
- npm run check-links
220
- npm run build
221
- - run :
222
- name : Install Tools
223
- command : |
224
- cd /tmp
225
- echo "Installing AWS CLI"
226
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
227
- unzip awscliv2.zip
228
- sudo ./aws/install
229
-
230
- echo "Installing Hashicorp Vault"
231
- curl -LO https://releases.hashicorp.com/vault/1.9.3/vault_1.9.3_linux_amd64.zip
232
- unzip vault_1.9.3_linux_amd64.zip
233
- sudo mv vault /usr/bin/vault
234
- sudo chmod +x /usr/bin/vault
235
- vault --version
236
-
237
- echo "Installing yq"
238
- curl -LO https://github.com/mikefarah/yq/releases/download/v4.16.2/yq_linux_amd64.tar.gz
239
- tar -zxvf yq_linux_amd64.tar.gz
240
- sudo mv yq_linux_amd64 /usr/bin/yq
241
- sudo chmod +x /usr/bin/yq
242
- yq --version
243
- - rok8s/get_vault_env :
244
- vault_path : repo/polaris/env
245
- - run :
246
- name : Publish Docs Site to S3
247
- command : |
248
- cd ./dist
249
- aws s3 sync ./ s3://polaris.docs.fairwinds.com --delete
250
209
workflows :
251
210
version : 2
252
211
@@ -294,7 +253,8 @@ workflows:
294
253
ignore : /.*/
295
254
tags :
296
255
ignore : /^testing-.*/
297
- - publish_docs :
256
+ - oss-docs/publish-docs :
257
+ repository : polaris
298
258
filters :
299
259
branches :
300
260
ignore : /.*/
You can’t perform that action at this time.
0 commit comments