parent
eb3c9814bb
commit
1c4f52007c
2 changed files with 29 additions and 0 deletions
18
.forgejo/workflows/main.yaml
Normal file
18
.forgejo/workflows/main.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
job:
|
||||||
|
container:
|
||||||
|
image: ${{vars.DOCKER}}debian:bookworm
|
||||||
|
steps:
|
||||||
|
- name: spcd
|
||||||
|
env:
|
||||||
|
SPCD: ${{vars.SPCD}}
|
||||||
|
SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}}
|
||||||
|
SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}}
|
||||||
|
SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}}
|
||||||
|
run: ${{vars.SPCD}}
|
||||||
|
|
||||||
|
- run: spcd-check-project
|
||||||
|
- run: spcd-build-project
|
||||||
|
- run: spcd-browse-workspace
|
||||||
|
- run: spcd-synchronize
|
11
build.py
Executable file
11
build.py
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#! /usr/bin/env python3
|
||||||
|
"""Dummy build."""
|
||||||
|
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
from rwx.fs import make_directory, write
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
out = Path(__file__).parent / "out" / "web"
|
||||||
|
make_directory(out)
|
||||||
|
write(out / "index.html", "rwx.rwx.work")
|
Loading…
Reference in a new issue