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:
@@ -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 }}."
|
||||
Reference in New Issue
Block a user