ci: fix SSH action path to GitHub
Some checks failed
Deploy Portfolio to VPS / deploy (push) Failing after 5s
Some checks failed
Deploy Portfolio to VPS / deploy (push) Failing after 5s
This commit is contained in:
parent
28e734897c
commit
d8ee49ec1e
1 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
name: Deploy Frontend to VPS
|
name: Deploy Portfolio to VPS
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -10,12 +10,13 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Trigger Build & Deploy via SSH
|
- name: Trigger Build & Deploy via SSH
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
uses: https://github.com/appleboy/ssh-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.VPS_HOST }}
|
host: ${{ secrets.VPS_HOST }}
|
||||||
username: ${{ secrets.VPS_USER }}
|
username: ${{ secrets.VPS_USER }}
|
||||||
key: ${{ secrets.VPS_SSH_KEY }}
|
key: ${{ secrets.VPS_SSH_KEY }}
|
||||||
port: ${{ secrets.VPS_PORT }}
|
port: ${{ secrets.VPS_PORT }}
|
||||||
|
script_stop: true
|
||||||
script: |
|
script: |
|
||||||
echo "🚀 Deployment gestartet..."
|
echo "🚀 Deployment gestartet..."
|
||||||
cd /opt/containers/frontend
|
cd /opt/containers/frontend
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue