We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9b999a commit 413ca17Copy full SHA for 413ca17
1 file changed
.github/workflows/deploy-staging.yml
@@ -0,0 +1,21 @@
1
+name: Deploy to Staging
2
+
3
+on:
4
+ push:
5
+ branches: [ dev ]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Deploy Staging via SSH
12
+ uses: appleboy/ssh-action@v1.0.3
13
+ with:
14
+ host: ${{ secrets.SERVER_HOST }}
15
+ username: ${{ secrets.SERVER_USER }}
16
+ key: ${{ secrets.SSH_PRIVATE_KEY }}
17
+ script: |
18
+ cd /home/ubuntu/balkonkraftwerk-staging
19
+ git pull origin dev
20
+ sudo systemctl restart balkonkraftwerk-staging
21
+ echo "Staging Update erfolgreich. Test-App läuft auf Port 5001!"
0 commit comments