feat: add CI workflow, clean target, and fix user_stats view with deduplicated columns

Add .gitea/workflows/export.yaml for automated build on push, introduce `clean` target in Makefile to recreate export directory, remove stale `dump_text.py` from SOURCES.txt, and correct duplicate column definitions in the `user_stats` SQL view creation inside db.py.
This commit is contained in:
2024-11-23 19:07:19 +00:00
parent 768477df2a
commit 26d883e0cb
5 changed files with 40 additions and 4 deletions
+18
View File
@@ -0,0 +1,18 @@
name: dR export statistics
run-name: dR export statistics
on: [push]
jobs:
Compile:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "Install dependencies."
- run: apt update
- run: apt install python3 python3-pip python3-venv make -y
- run: make
- run: echo "This job's status is ${{ job.status }}."