From 6785225590614d424bef8e225f6b63ba00a1816c 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 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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..15cdd2d --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,32 @@ +on: push +jobs: + prepare: + 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 + - run: python3 -m venv virtenv + - run: source virtenv/bin/activate; pip install -r requirements.txt + 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 + - run: python3 -m venv virtenv + - run: source virtenv/bin/activate; nikola build \ No newline at end of file