Skip to content

Commit 7cc9411

Browse files
authored
Create aspire-leade-dev.yaml
1 parent e7d5c6f commit 7cc9411

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Deploy to dev
2+
on:
3+
push:
4+
branches:
5+
- aspire-leaders
6+
jobs:
7+
deploy_to_server1:
8+
runs-on: ubuntu-latest
9+
timeout-minutes: 15
10+
steps:
11+
- name: Deploy Stack to Server 1
12+
uses: appleboy/ssh-action@master
13+
with:
14+
host: ${{ secrets.HOST_AL }}
15+
username: ${{ secrets.USERNAME_AL }}
16+
key: ${{ secrets.SSH_PRIVATE_KEY_AL }}
17+
port: ${{ secrets.PORT_AL }}
18+
script: |
19+
cd /home/ubuntu/Aspire-leader/BACKEND
20+
./deploy.sh

0 commit comments

Comments
 (0)