Add Docker, Nginx, and Gitea workflow configuration
All checks were successful
Deploy to Production / deploy (push) Successful in 7s

This commit is contained in:
2026-02-26 22:14:05 +00:00
parent 1dcfbd1bd9
commit bdbb561740
5 changed files with 133 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
name: Deploy to Production
on:
push:
branches:
- main
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Build and deploy with Docker Compose
run: |
# Clean up previous containers if needed
docker compose down --remove-orphans || true
docker compose up -d --build