ci: add gitea actions config

This commit is contained in:
thehrz 2024-08-17 10:08:45 +08:00
parent e5428868c7
commit b0f784596d
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:
- 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