diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..5d764f8 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -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