mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Trigger build for each tag
This commit is contained in:
parent
d45f9fac29
commit
5f5249869a
1 changed files with 5 additions and 0 deletions
|
@ -52,3 +52,8 @@ deployment:
|
||||||
commands:
|
commands:
|
||||||
- ssh -p $OMR_DEPLOY_PORT deploy@$OMR_DEPLOY_HOST mkdir -p deploy/$OMR_PATH
|
- ssh -p $OMR_DEPLOY_PORT deploy@$OMR_DEPLOY_HOST mkdir -p deploy/$OMR_PATH
|
||||||
- rsync -av --delete-after source/bin/ -e "ssh -q -p $OMR_DEPLOY_PORT" deploy@$OMR_DEPLOY_HOST:deploy/$OMR_PATH
|
- rsync -av --delete-after source/bin/ -e "ssh -q -p $OMR_DEPLOY_PORT" deploy@$OMR_DEPLOY_HOST:deploy/$OMR_PATH
|
||||||
|
release:
|
||||||
|
tag: /v[0-9]+(\.[0-9]+)*/
|
||||||
|
commands:
|
||||||
|
- ssh -p $OMR_DEPLOY_PORT deploy@$OMR_DEPLOY_HOST mkdir -p deploy/release
|
||||||
|
- rsync -av --delete-after source/bin/ -e "ssh -q -p $OMR_DEPLOY_PORT" deploy@$OMR_DEPLOY_HOST:deploy/release
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue