ci: add gitea actions file
All checks were successful
CI / deploy (push) Successful in 1m20s

This commit is contained in:
thehrz 2024-08-18 22:42:33 +08:00
parent 7f8f7b0ed7
commit ac7c0979c9
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855
2 changed files with 25 additions and 1 deletions

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

View File

@ -14,6 +14,5 @@ services:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.hfbz-nginx.rule=HostRegexp(`^(www\.)?xn--fiqa592br0dm3gfp6c\.com$`) - traefik.http.routers.hfbz-nginx.rule=HostRegexp(`^(www\.)?xn--fiqa592br0dm3gfp6c\.com$`)
- traefik.http.routers.hfbz-nginx.entrypoints=web,websecure - traefik.http.routers.hfbz-nginx.entrypoints=web,websecure
- traefik.http.routers.hfbz-nginx.tls.certresolver=letsencrypt
networks: networks:
- traefik - traefik