From b0d0734d996e506f26edc45e5820815fc54497c7 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 | 18 ++++++++++++++++++ 1 file changed, 18 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..913f87d --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,18 @@ +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 + key: c3space-nikola-${{ github.ref_name }} + - run: python3 -m venv virtenv + - run: . virtenv/bin/activate; pip install -r requirements.txt + - run: . virtenv/bin/activate; nikola build