From 0eee2988ce645be111a380f9784f0d6caa918fe4 Mon Sep 17 00:00:00 2001 From: laika Date: Thu, 26 Feb 2026 00:20:49 +1100 Subject: [PATCH] update build-main with SSH compose deploy --- .gitea/workflows/build-main.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build-main.yml b/.gitea/workflows/build-main.yml index f612afa..41f9e73 100644 --- a/.gitea/workflows/build-main.yml +++ b/.gitea/workflows/build-main.yml @@ -32,4 +32,14 @@ jobs: context: . push: true tags: | - engineering.sanya.gay/pluralflux/pluralflux:latest \ No newline at end of file + engineering.sanya.gay/pluralflux/pluralflux:latest + + - name: Deploy bot + uses: appleboy/ssh-action@v1.0.3 + with: + host: ${{ secrets.SSH_HOST }} + username: ${{ secrets.SSH_USER }} + port: 22 + script: | + cd /root/pluralflux-prod/PluralFlux + docker compose up -d \ No newline at end of file