Updated config.yml
This commit is contained in:
parent
5cab8f6fa7
commit
f299b19bab
1 changed files with 6 additions and 2 deletions
|
|
@ -26,7 +26,9 @@ jobs:
|
||||||
- "b7:39:6c:c8:a1:24:72:26:e6:a8:d1:c6:0d:24:82:a6"
|
- "b7:39:6c:c8:a1:24:72:26:e6:a8:d1:c6:0d:24:82:a6"
|
||||||
- run:
|
- run:
|
||||||
name: Clone
|
name: Clone
|
||||||
command: ssh $SSH_USER@$SSH_HOST "cd /etc/BotYam && gh repo sync"
|
command: |
|
||||||
|
echo $SSH_KEY > pkey
|
||||||
|
ssh -i pkey $SSH_USER@$SSH_HOST "cd /etc/BotYam && gh repo sync"
|
||||||
deploy:
|
deploy:
|
||||||
machine:
|
machine:
|
||||||
image: "ubuntu-2004:current"
|
image: "ubuntu-2004:current"
|
||||||
|
|
@ -36,4 +38,6 @@ jobs:
|
||||||
- "b7:39:6c:c8:a1:24:72:26:e6:a8:d1:c6:0d:24:82:a6"
|
- "b7:39:6c:c8:a1:24:72:26:e6:a8:d1:c6:0d:24:82:a6"
|
||||||
- run:
|
- run:
|
||||||
name: Deploy Over SSH
|
name: Deploy Over SSH
|
||||||
command: ssh $SSH_USER@$SSH_HOST "cd /etc/BotYam && docker-compose up -d --build"
|
command: |
|
||||||
|
echo $SSH_KEY > pkey
|
||||||
|
ssh -i pkey $SSH_USER@$SSH_HOST "cd /etc/BotYam && docker-compose up -d --build"
|
||||||
Loading…
Reference in a new issue