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