docker-compose.yml gelöscht
This commit is contained in:
parent
e343cfa232
commit
03e79c8a61
|
|
@ -1,27 +0,0 @@
|
||||||
name: Deploy Standortpruefung
|
|
||||||
on: [push]
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Deploy via SSH
|
|
||||||
uses: appleboy/ssh-action@master
|
|
||||||
with:
|
|
||||||
host: ${{ secrets.DEPLOY_HOST }}
|
|
||||||
username: ${{ secrets.DEPLOY_USER }}
|
|
||||||
key: ${{ secrets.DEPLOY_SSH_KEY }}
|
|
||||||
script: |
|
|
||||||
# HIER kommen die Pfad-Befehle aus der Anleitung rein:
|
|
||||||
mkdir -p /opt/automation-stack/apps/wind-tool-standortpruefung
|
|
||||||
cd /opt/automation-stack/apps/wind-tool-standortpruefung
|
|
||||||
|
|
||||||
# Code aktualisieren (Reset erzwingen, damit es aktuell ist)
|
|
||||||
if [ ! -d ".git" ]; then
|
|
||||||
git clone https://git.enwelo-serverumgebung.cloud/gitea-enwelo-jba/wind_tool_standortprüfung.git .
|
|
||||||
else
|
|
||||||
git fetch origin main
|
|
||||||
git reset --hard origin/main
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Starten nach Anleitung
|
|
||||||
docker compose up -d --build --force-recreate
|
|
||||||
Loading…
Reference in New Issue