Files
rustycms/.gitea/workflows/deploy.yml
Peter Meier 9e117a45cb
Some checks failed
Deploy to Server / deploy (push) Failing after 7s
Fix deploy: use repo-local compose file instead of host path
2026-03-15 14:19:41 +01:00

30 lines
609 B
YAML

name: Deploy to Server
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build API image
run: |
docker build -t rustycms-api:latest .
- name: Build Admin UI image
run: |
docker build \
--build-arg NEXT_PUBLIC_RUSTYCMS_API_URL=https://cms.pm86.de \
-t rustycms-admin:latest \
./admin-ui
- name: Deploy
run: |
docker compose -f docker-compose.prod.yml up -d
docker image prune -f