mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-06 01:25:22 +00:00
Save built swagger.json and yaml to the repo (#68)
This commit is contained in:
parent
bfbff72e5f
commit
65e1807329
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
# Dir for API portal deploy
|
||||
web_deploy
|
||||
out
|
||||
|
||||
# Logs
|
||||
logs
|
||||
|
15
wercker.yml
15
wercker.yml
@ -12,6 +12,21 @@ build:
|
||||
url: ${SLACK_WEBHOOK_URL}
|
||||
username: "wercker"
|
||||
|
||||
release:
|
||||
steps:
|
||||
- script:
|
||||
name: prepare release artifacts
|
||||
code: mkdir -p out && cp ./swagger.{yaml,json} out/
|
||||
- lordlothar99/git-push:
|
||||
gh_oauth: ${GITHUB_API_TOKEN}
|
||||
branch: release
|
||||
basedir: out
|
||||
message: Release ${WERCKER_GIT_OWNER}/${WERCKER_GIT_REPOSITORY}@${WERCKER_GIT_COMMIT}
|
||||
after-steps:
|
||||
- slack-notifier:
|
||||
url: ${SLACK_WEBHOOK_URL}
|
||||
username: "wercker"
|
||||
|
||||
deploy:
|
||||
steps:
|
||||
- lukevivier/gh-pages:
|
||||
|
Loading…
Reference in New Issue
Block a user