From 7cb147b3819ff0a671d5af8a8e5e2580df9c4d24 Mon Sep 17 00:00:00 2001 From: Zaine Date: Wed, 13 May 2026 15:55:26 +0100 Subject: [PATCH] setting pipeline --- .gitea/workflows/build.yml | 22 ++++++++++++++++++++++ .gitignore | 0 Makefile | 2 ++ README.md | 0 4 files changed, 24 insertions(+) create mode 100644 .gitea/workflows/build.yml mode change 100644 => 100755 .gitignore mode change 100644 => 100755 Makefile mode change 100644 => 100755 README.md diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..3b5fa24 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build Authoring Service + +on: + push: + branches: + - main + + schedule: + - cron: "0 0 * * *" + + workflow_dispatch: + +jobs: + build: + runs-on: site-build + + steps: + - name: Check out repo + uses: actions/checkout@v4 + + - name: Build site + run: make diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 index 03989e8..8e75258 --- a/Makefile +++ b/Makefile @@ -16,6 +16,8 @@ SYSTEMD_RUNTIME_DIR ?= /run/user/$(USER_ID) SYSTEMCTL_USER := env XDG_RUNTIME_DIR=$(SYSTEMD_RUNTIME_DIR) systemctl --user JOURNALCTL_USER := env XDG_RUNTIME_DIR=$(SYSTEMD_RUNTIME_DIR) journalctl --user +all: author-restart + test: $(VENV) $(PY) -m unittest discover -s tests -p 'test_authoring_server.py' -v diff --git a/README.md b/README.md old mode 100644 new mode 100755