Compare commits
10 commits
8cdd9d8020
...
763b6c33f4
Author | SHA1 | Date | |
---|---|---|---|
763b6c33f4 | |||
dd1ba4cee3 | |||
672e59495f | |||
77038e9782 | |||
2098a67a6e | |||
955406d39d | |||
08138d21a2 | |||
ffcecaa496 | |||
219b58c762 | |||
4229ccd6f9 |
3 changed files with 41 additions and 0 deletions
17
.forgejo/workflows/main.yaml
Normal file
17
.forgejo/workflows/main.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
job:
|
||||
runs-on: ubuntu-latest
|
||||
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}}
|
||||
run: ${{vars.SPCD}}
|
||||
|
||||
- run: spcd-build-project
|
||||
- run: spcd-browse-workspace
|
||||
- run: spcd-synchronize
|
24
render.py
Executable file
24
render.py
Executable file
|
@ -0,0 +1,24 @@
|
|||
#! /usr/bin/env python3
|
||||
"""Build resume."""
|
||||
|
||||
from os import sep
|
||||
from pathlib import Path
|
||||
|
||||
from rwx import fs
|
||||
from rwx.ps import run
|
||||
|
||||
if __name__ == "__main__":
|
||||
root = Path(__file__).resolve().parent
|
||||
root_input = root / "in"
|
||||
root_output = root / "out"
|
||||
fs.wipe(root_output)
|
||||
fs.make_directory(root_output)
|
||||
run(
|
||||
"rsync",
|
||||
"--archive",
|
||||
"--partial",
|
||||
"--progress",
|
||||
"--verbose",
|
||||
f"{root_input}{sep}",
|
||||
f"{root_output}{sep}",
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue