finance-api/.gitea/workflows/deploy-production.yml
Заид Омар Медхат 9eaa6a0a00
Some checks failed
Deploy Production / Deploy to Production (push) Failing after 11s
f
2025-12-26 00:01:16 +05:00

28 lines
593 B
YAML

name: Deploy Production
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy_production:
name: Deploy to Production
runs-on: docker
environment:
name: production
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Rebuild and restart Docker Compose
run: |
set -e
docker compose -f docker-compose.server.yml up -d --build
- name: 'Optional: Check service health'
run: |
curl --fail --silent --show-error https://api-finance.ai-assistant-bot.xyz/ || exit 1