We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1275ed7 commit c2a9814Copy full SHA for c2a9814
.github/workflows/deploy.yml
@@ -0,0 +1,22 @@
1
+name: Deploy Empower Orphans (Docker)
2
+
3
+on:
4
+ push:
5
+ branches: ["main"]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Deploy over SSH
12
+ uses: appleboy/ssh-action@v1.0.3
13
+ with:
14
+ host: ${{ secrets.VPS_HOST }}
15
+ username: ${{ secrets.VPS_USER }}
16
+ key: ${{ secrets.VPS_SSH_KEY }}
17
+ script: |
18
+ set -e
19
+ cd /var/www/Empower-Orphans-Website
20
+ git pull origin main
21
+ docker compose up -d --build
22
+ docker image prune -f
0 commit comments