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

27 lines
590 B
YAML

name: Deploy Production
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: docker
container:
image: docker:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
steps:
- name: Install git
run: apk add --no-cache git
- name: Clone repository
run: git clone --depth 1 https://git.ai-assistant-bot.xyz/root/finance-api.git .
- name: Build & Deploy
run: |
docker compose -f docker-compose.server.yml build
docker compose -f docker-compose.server.yml up -d