diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index 9380ed5..1036aa3 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -1,16 +1,21 @@ on: [push] jobs: job: - - runs-on: bookworm - + runs-on: ubuntu-latest + container: + image: ${{vars.DOCKER}}debian:bookworm steps: + - name: spcd + env: + SPCD: ${{vars.SPCD}} + SPCD_GIT_RWX: ${{vars.SPCD_GIT_RWX}} + SPCD_GIT_SPCD: ${{vars.SPCD_GIT_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}} - - name: cd-bootstrap - env: - CD: '${{secrets.cd}}' - run: eval '${{vars.cd}}' - - - run: cd-clone-branch - - - run: cd-synchronize 'in' + - run: spcd-check-project + - run: spcd-build-project + - run: spcd-browse-workspace + - run: spcd-synchronize in diff --git a/in/web/.well-known/openpgpkey/hu/4c6ebxnf43jo8a3hiyaotkcifp4fi6xx b/in/web/.well-known/openpgpkey/hu/4c6ebxnf43jo8a3hiyaotkcifp4fi6xx new file mode 120000 index 0000000..687d959 --- /dev/null +++ b/in/web/.well-known/openpgpkey/hu/4c6ebxnf43jo8a3hiyaotkcifp4fi6xx @@ -0,0 +1 @@ +marc \ No newline at end of file diff --git a/in/web/.well-known/openpgpkey/hu/marc b/in/web/.well-known/openpgpkey/hu/marc new file mode 100644 index 0000000..312f125 Binary files /dev/null and b/in/web/.well-known/openpgpkey/hu/marc differ diff --git a/in/web/.well-known/openpgpkey/policy b/in/web/.well-known/openpgpkey/policy new file mode 100644 index 0000000..e69de29 diff --git a/in/index.css b/in/web/index.css similarity index 100% rename from in/index.css rename to in/web/index.css diff --git a/in/index.html b/in/web/index.html similarity index 100% rename from in/index.html rename to in/web/index.html diff --git a/render.py b/render.py new file mode 100755 index 0000000..96221e8 --- /dev/null +++ b/render.py @@ -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}", + )