From af9a8a96a54b5d4de94ed221b05cdea9a9dec824 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 6 Aug 2023 14:39:02 +0200 Subject: [PATCH] Added forgejo workflows --- .forgejo/workflows/build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .forgejo/workflows/build.yml diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml new file mode 100644 index 0000000..9e7a9cf --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,19 @@ +on: push +jobs: + build: + runs-on: docker + container: + image: forgejo.zenerdio.de/sebastian/c3space-website-ci:v0.1.0 + steps: + - uses: actions/checkout@v3 + - uses: actions/cache@v3 + with: + path: | + virtenv + cache + output + .doit.db + key: c3space-nikola + - run: python3 -m venv virtenv + - run: . virtenv/bin/activate; pip install -r requirements.txt + - run: . virtenv/bin/activate; nikola build