c3space-website2.0/.forgejo/workflows/build.yml

32 lines
835 B
YAML

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