2018-06-12 16:50:45 +00:00
|
|
|
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}
|
2018-06-16 10:19:41 +00:00
|
|
|
basedir: api
|
|
|
|
destdir: api
|
2018-06-12 16:50:45 +00:00
|
|
|
message: |
|
|
|
|
[${WERCKER_GIT_BRANCH}] release ${WERCKER_GIT_OWNER}/${WERCKER_GIT_REPOSITORY}@${WERCKER_GIT_COMMIT}
|
|
|
|
after-steps:
|
|
|
|
- slack-notifier:
|
|
|
|
url: ${SLACK_WEBHOOK_URL}
|
|
|
|
username: "wercker"
|
2018-06-15 11:43:05 +00:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
steps:
|
2018-06-15 13:17:59 +00:00
|
|
|
- lordlothar99/git-push:
|
2018-06-16 10:19:41 +00:00
|
|
|
gh_oauth: ${GITHUB_API_TOKEN}
|
|
|
|
repo: rbkmoney/wallets-api
|
|
|
|
gh_pages: true
|
|
|
|
destdir: ${WERCKER_GIT_BRANCH}
|
2018-06-15 11:43:05 +00:00
|
|
|
after-steps:
|
|
|
|
- slack-notifier:
|
|
|
|
url: ${SLACK_WEBHOOK_URL}
|
|
|
|
username: "wercker"
|