Files
LampDocker/.gitea/workflows/deploy.yaml
Antoni Nuñez Romeu ddda631033
Some checks failed
Deploy LAMP / Deploy LAMP (push) Failing after 32s
first commit
2026-04-13 17:13:52 +02:00

23 lines
634 B
YAML

name: Deploy LAMP
run-name: ${{ gitea.actor }} is deploying to PROD servers.
on: [ push, fork, pull ]
jobs:
Deploy LAMP:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: SSH to remote server
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd /docker/lamp/
git pull
docker compose up -d --build
- run: echo "🍏 This job's status is ${{ job.status }}."