mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-09 01:22:27 +05:30
Add deployment to the github releases
This commit is contained in:
parent
811805a20d
commit
4aac28fc45
19
.travis.yml
19
.travis.yml
@ -37,8 +37,17 @@ before_deploy:
|
||||
- ssh-add /tmp/deploy_rsa
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
skip_cleanup: true
|
||||
script: echo "put -r $TRAVIS_BUILD_DIR/dist/* accounts-frontend/" | sftp deploy@account.ely.by
|
||||
on:
|
||||
branch: master
|
||||
- provider: releases
|
||||
api_key: "$GITHUB_TOKEN"
|
||||
file_glob: true
|
||||
file: dist/**/*
|
||||
skip_cleanup: true
|
||||
draft: true
|
||||
on:
|
||||
branch: master
|
||||
|
||||
- provider: script
|
||||
skip_cleanup: true
|
||||
script: echo "put -r $TRAVIS_BUILD_DIR/dist/* accounts-frontend/" | sftp deploy@account.ely.by
|
||||
on:
|
||||
tags: true
|
||||
|
Loading…
Reference in New Issue
Block a user