swag-wallets/wercker.yml
Andrew Mayorov 84f5549327
CAPI-262: Mess in a repo less (#7)
So that there's no `out` dir leftovers on gh-pages.
2018-06-16 13:19:41 +03:00

46 lines
973 B
YAML

box: node:7
build:
steps:
- npm-install
- npm-test
- script:
name: build docsite
code: npm run build -- ${WERCKER_OUTPUT_DIR}
after-steps:
- slack-notifier:
url: ${SLACK_WEBHOOK_URL}
username: "wercker"
dev:
steps:
- npm-install
- npm-test
- internal/shell
release:
steps:
- lordlothar99/git-push:
gh_oauth: ${GITHUB_API_TOKEN}
branch: release/${WERCKER_GIT_BRANCH}
basedir: api
destdir: api
message: |
[${WERCKER_GIT_BRANCH}] release ${WERCKER_GIT_OWNER}/${WERCKER_GIT_REPOSITORY}@${WERCKER_GIT_COMMIT}
after-steps:
- slack-notifier:
url: ${SLACK_WEBHOOK_URL}
username: "wercker"
deploy:
steps:
- lordlothar99/git-push:
gh_oauth: ${GITHUB_API_TOKEN}
repo: rbkmoney/wallets-api
gh_pages: true
destdir: ${WERCKER_GIT_BRANCH}
after-steps:
- slack-notifier:
url: ${SLACK_WEBHOOK_URL}
username: "wercker"