Commit 43ad7bd7 authored by NGPixel's avatar NGPixel

fix: wercker fixes

parent 3f08a4d8
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: ...@@ -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 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: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment