From 0310d6b56cb3fa678ce54e9661006c80fff95b62 Mon Sep 17 00:00:00 2001 From: thehrz Date: Fri, 16 Aug 2024 23:33:23 +0800 Subject: [PATCH] ci: add ci.yml --- .gitea/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..e3f280a --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: + - main + + pull_request: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + with: + submodules: true + + - name: Install Docker + run: curl -fsSL https://get.docker.com | sh + + - name: Deploy with Docker + run: docker compose up --build -d +