Browse Source

fix: wercker fixes

pull/208/head
NGPixel 7 years ago
parent
commit
43ad7bd7d1
1 changed files with 12 additions and 5 deletions
  1. 17
      wercker.yml

17
wercker.yml

@ -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: |
@ -20,11 +20,13 @@ build:
code: | code: |
yarn install --production --ignore-scripts --prefer-offline yarn install --production --ignore-scripts --prefer-offline
- script: - script:
name: copy artifacts
code: cp assets server config.sample.yml package.json wiki.cmd wiki.js "$WERCKER_OUTPUT_DIR"
name: copy artifacts
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