This commit is contained in:
22
.gitea/workflows/build.yml
Normal file
22
.gitea/workflows/build.yml
Normal file
@@ -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
|
||||
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
2
Makefile
Normal file → Executable file
2
Makefile
Normal file → Executable file
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user