build & workflow
Some checks failed
/ job (push) Failing after 1m8s

This commit is contained in:
Marc Beninca 2024-10-13 21:42:16 +02:00
parent eb3c9814bb
commit 1c4f52007c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 29 additions and 0 deletions

View 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
View 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")