.gitea/workflows/deploy.yml aktualisiert
Deploy TrassenPlaner / deploy (push) Successful in 41s
Details
Deploy TrassenPlaner / deploy (push) Successful in 41s
Details
This commit is contained in:
parent
edd41e7837
commit
48041d77ce
|
|
@ -1,4 +1,16 @@
|
||||||
- name: Deploy via SSH
|
name: Deploy TrassenPlaner
|
||||||
|
run-name: ${{ gitea.actor }} is deploying the application
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Deploy via SSH
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.DEPLOY_HOST }}
|
host: ${{ secrets.DEPLOY_HOST }}
|
||||||
|
|
@ -6,7 +18,6 @@
|
||||||
key: ${{ secrets.DEPLOY_SSH_KEY }}
|
key: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||||
port: 22
|
port: 22
|
||||||
script: |
|
script: |
|
||||||
# Geänderter Pfad zu /root/
|
|
||||||
cd /root/bwscheddebrock_trassenplaner || exit
|
cd /root/bwscheddebrock_trassenplaner || exit
|
||||||
git pull origin main
|
git pull origin main
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue