Добавлен workflow для деплоя
All checks were successful
Deploy Production / deploy (push) Successful in 1m33s
All checks were successful
Deploy Production / deploy (push) Successful in 1m33s
This commit is contained in:
parent
93d13b613d
commit
2cfb879c0c
24
.gitea/workflows/deploy.yml
Normal file
24
.gitea/workflows/deploy.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: Deploy Production
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: docker:latest
|
||||||
|
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/karta-soup.git .
|
||||||
|
|
||||||
|
- name: Build & Deploy
|
||||||
|
run: |
|
||||||
|
docker compose build
|
||||||
|
docker compose up -d
|
||||||
Loading…
Reference in New Issue
Block a user