This commit is contained in:
parent
1b7732c958
commit
2e25c3b074
1 changed files with 22 additions and 0 deletions
22
.forgejo/workflows/build-website.yaml
Normal file
22
.forgejo/workflows/build-website.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- trunk
|
||||
jobs:
|
||||
test:
|
||||
runs-on: host
|
||||
steps:
|
||||
- run: git clone --depth=1 https://$FORGEJO_TOKEN@forge.cbaines.net/cbaines/guile-knots.git knots-trunk
|
||||
- run: git clone --depth=1 https://$FORGEJO_TOKEN@forge.cbaines.net/cbaines/guile-knots.git --branch=pages knots-pages
|
||||
- run: |
|
||||
cd knots-trunk
|
||||
guix shell -D -f guix-dev.scm -- documenta api knots
|
||||
guix shell texinfo -- makeinfo --css-ref=https://luis-felipe.gitlab.io/texinfo-css/static/css/texinfo-7.css --no-split --html -c SHOW_TITLE=true -o ../knots-pages/index.html doc/index.texi
|
||||
|
||||
- run: |
|
||||
cd knots-pages
|
||||
git add .
|
||||
git config user.email ""
|
||||
git config user.name "Automatic website updater"
|
||||
git commit -m "Automatic website update"
|
||||
git push
|
Loading…
Add table
Add a link
Reference in a new issue