initial commit
All checks were successful
Build and Publish Docker Image / docker (push) Successful in 36s
All checks were successful
Build and Publish Docker Image / docker (push) Successful in 36s
This commit is contained in:
32
Readme.md
Normal file
32
Readme.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# Overview
|
||||
|
||||
Alpine based image to build jupyter-book based documentation
|
||||
|
||||
Build manually:
|
||||
```bash
|
||||
docker run -it --rm -v $(pwd):/data --workdir /data gitea.psi.ch/images/alpine-zensical
|
||||
|
||||
/opt/python-env/bin/zensical build --site-dir public
|
||||
```
|
||||
|
||||
Use Gitea action to build the documentation:
|
||||
|
||||
```yaml
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest-intranet
|
||||
container:
|
||||
image: gitea.psi.ch/images/alpine-zensical
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build Jupyter Book
|
||||
run: /opt/python-env/bin/zensical build --site-dir public
|
||||
|
||||
```
|
||||
|
||||
|
||||
```bash
|
||||
docker build --platform linux/x86_64 -t gitea.psi.ch/images/alpine-zensical:latest .
|
||||
```
|
||||
Reference in New Issue
Block a user