fix: wercker fixes
This commit is contained in:
parent
3f08a4d8ab
commit
43ad7bd7d1
15
wercker.yml
15
wercker.yml
@ -1,11 +1,11 @@
|
||||
build:
|
||||
box: node:8-alpine
|
||||
box: node:8
|
||||
steps:
|
||||
- script:
|
||||
name: install dependencies
|
||||
code: |
|
||||
apk update
|
||||
apk add bash build-base curl git openssh yarn
|
||||
apk add bash build-base curl yarn
|
||||
- script:
|
||||
name: yarn install
|
||||
code: |
|
||||
@ -21,10 +21,12 @@ build:
|
||||
yarn install --production --ignore-scripts --prefer-offline
|
||||
- script:
|
||||
name: copy artifacts
|
||||
code: cp assets server config.sample.yml package.json wiki.cmd wiki.js "$WERCKER_OUTPUT_DIR"
|
||||
code: |
|
||||
ls
|
||||
cp -LR assets node_modules server config.sample.yml package.json wiki.cmd wiki.js "$WERCKER_OUTPUT_DIR"
|
||||
|
||||
deploy-github:
|
||||
box: node:8-alpine
|
||||
box: node:8
|
||||
steps:
|
||||
- script:
|
||||
name: package
|
||||
@ -47,6 +49,11 @@ deploy-github:
|
||||
|
||||
deploy-docker-master:
|
||||
box: node:8-alpine
|
||||
- script:
|
||||
name: install dependencies
|
||||
code: |
|
||||
apk update
|
||||
apk add bash curl git openssh
|
||||
steps:
|
||||
- internal/docker-scratch-push:
|
||||
username: $DOCKER_HUB_USERNAME
|
||||
|
Loading…
Reference in New Issue
Block a user