Skip to content

Commit 839d352

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents cb72300 + b94afd3 commit 839d352

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Deploy to VPS
13+
uses: appleboy/ssh-action@v1.2.0
14+
with:
15+
host: ${{ secrets.VPS_HOST }}
16+
username: ${{ secrets.VPS_USERNAME }}
17+
key: ${{ secrets.VPS_PRIVATE_KEY }}
18+
port: ${{ secrets.VPS_PORT }}
19+
script: |
20+
cd check-subdomain
21+
./deploy.sh

0 commit comments

Comments
 (0)