Merge pull request #11 from rbkmoney/ft/change-deploy-repo

deploy to branch release/master
This commit is contained in:
Denis Ezhov 2019-11-29 15:59:32 +03:00 committed by GitHub
commit a29d206329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,16 @@ build:
name: build docsite
code: npm run build -- ${WERCKER_OUTPUT_DIR}
deploy:
release-v:
steps:
- lukevivier/gh-pages:
repo: rbkmoney/swag-questionary-aggr-proxy-public
token: ${GITHUB_API_TOKEN}
- script:
name: prepare release artifacts for branch v1, v2, etc.
code: mkdir -p out && cp ./swagger.{yaml,json} out/
- lordlothar99/git-push:
gh_oauth: ${GITHUB_API_TOKEN}
branch: release/${WERCKER_GIT_BRANCH}
basedir: out
message: Release ${WERCKER_GIT_OWNER}/${WERCKER_GIT_REPOSITORY}@${WERCKER_GIT_COMMIT}
after-steps:
- slack-notifier:
url: ${SLACK_WEBHOOK_URL}