Specified branch

This commit is contained in:
2022-05-10 02:36:21 +03:00
parent 7e93d9374b
commit bb9c9c7587

View File

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