fix: wercker fixes

pull/208/head
NGPixel 7 years ago
parent 3f08a4d8ab
commit 43ad7bd7d1

@ -1,11 +1,11 @@
build: build:
box: node:8-alpine box: node:8
steps: steps:
- script: - script:
name: install dependencies name: install dependencies
code: | code: |
apk update apk update
apk add bash build-base curl git openssh yarn apk add bash build-base curl yarn
- script: - script:
name: yarn install name: yarn install
code: | code: |
@ -21,10 +21,12 @@ build:
yarn install --production --ignore-scripts --prefer-offline yarn install --production --ignore-scripts --prefer-offline
- script: - script:
name: copy artifacts 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: deploy-github:
box: node:8-alpine box: node:8
steps: steps:
- script: - script:
name: package name: package
@ -47,6 +49,11 @@ deploy-github:
deploy-docker-master: deploy-docker-master:
box: node:8-alpine box: node:8-alpine
- script:
name: install dependencies
code: |
apk update
apk add bash curl git openssh
steps: steps:
- internal/docker-scratch-push: - internal/docker-scratch-push:
username: $DOCKER_HUB_USERNAME username: $DOCKER_HUB_USERNAME

Loading…
Cancel
Save