ci: add ci.yml

This commit is contained in:
thehrz 2024-08-16 23:33:23 +08:00
parent 804c597d0e
commit 0310d6b56c
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

25
.gitea/workflows/ci.yml Normal file
View File

@ -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