Added forgejo workflows
This commit is contained in:
parent
55050fb4b7
commit
6785225590
|
@ -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
|
Loading…
Reference in New Issue