From c475e76ad074ceea368582cece3bcdc768443286 Mon Sep 17 00:00:00 2001 From: Rayyan <60314224+RayyanHermanto@users.noreply.github.com> Date: Mon, 3 Aug 2026 00:29:33 +0700 Subject: [PATCH] Create deploy.yml --- .gitea/workflows/deploy.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..7b5b233 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,27 @@ +name: Deploy + +on: + push: + branches: + - main + +jobs: + deploy: + + runs-on: ubuntu-latest + + steps: + + - name: Deploy + + run: | + + cd /DATA/git/RayLab-Core + + git fetch origin + + git reset --hard origin/main + + cd /DATA/docker/raylab-core + + docker compose up -d --build \ No newline at end of file