-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (27 loc) · 819 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Deploy Studio Maker in Azure
# Dispara o workflow para push e pull request na branch 'dev'
on:
push:
branches:
- dev
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: ${{ secrets.IP_VM_AZURE_DEV }}
username: ${{ secrets.USER_VM_AZURE_DEV }}
password: ${{ secrets.USER_VM_AZURE_DEV }}
port: 22
request_pty: true
script: |
ls -alt
cd /home/Calculus-admin1/app
pwd
sudo ./manage_process_back_studio.sh
echo "Starting deploy Studio Service"
sudo ./deploy_back_studio.sh