We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34eac18 commit ebfeaa7Copy full SHA for ebfeaa7
1 file changed
.github/workflows/deploy-vps.yml
@@ -0,0 +1,20 @@
1
+name: Deploy to VPS
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Deploy to VPS via SSH
12
+ uses: appleboy/ssh-action@v1.0.3
13
+ with:
14
+ host: ${{ secrets.VPS_HOST }}
15
+ username: ${{ secrets.VPS_USERNAME }}
16
+ key: ${{ secrets.VPS_SSH_PRIVATE_KEY }}
17
+ script: |
18
+ cd /var/www/sniff.wolfsecurity.com.br/public_html/invmap
19
+ git pull origin main
20
+ echo "Deployment to VPS successful!"
0 commit comments