mirror of
https://github.com/valitydev/swag-wallets.git
synced 2024-11-06 02:45:19 +00:00
84f5549327
So that there's no `out` dir leftovers on gh-pages.
46 lines
973 B
YAML
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"
|