Specified branch
This commit is contained in:
@@ -12,15 +12,16 @@ steps:
|
|||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: SSH_KEY
|
from_secret: SSH_KEY
|
||||||
commands:
|
commands:
|
||||||
- git clone https://git.radner.ru/anatolykopyl/worktime.git
|
- git clone -b cloud-saves https://git.radner.ru/anatolykopyl/worktime.git
|
||||||
- cd worktime
|
- cd worktime/frontend
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
- mkdir ~/.ssh
|
- mkdir ~/.ssh
|
||||||
- echo "$SSH_KEY" > ~/.ssh/id_rsa
|
- echo "$SSH_KEY" > ~/.ssh/id_rsa
|
||||||
- chmod 400 ~/.ssh/id_rsa
|
- chmod 400 ~/.ssh/id_rsa
|
||||||
- scp -o StrictHostKeyChecking=no -r dist/* webmaster@worktime.anatolykopyl.ru:~/www/worktime.anatolykopyl.ru
|
- scp -o StrictHostKeyChecking=no -r dist/* webmaster@worktime.anatolykopyl.ru:~/www/worktime.anatolykopyl.ru
|
||||||
when:
|
|
||||||
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- cloud-saves
|
- cloud-saves
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user