From b0f784596d3389d7b1ac65ea6bc2b75ba259cd9a Mon Sep 17 00:00:00 2001 From: thehrz Date: Sat, 17 Aug 2024 10:08:45 +0800 Subject: [PATCH] ci: add gitea actions config --- .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..e033d6f --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: + - master + + pull_request: + branches: + - master + +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 +