1.6 KiB
1.6 KiB
Development environment
This website uses Zola, an easy to use static site generator.
To get started:
- Install Zola:
Make env
- Live reload
make serve
- Make changes and publish
make
Build artifacts should be available in ./public/
Deployment
This repository uses Gna! Woodpecker-CI to build and Gna/Pages to deploy on each commit.
To setup the CI:
- ssh-keygen -b 4096 -f /tmp/pages
- xclip -sel clip -in < /tmp/pages.pub
- use that to add a key in https://gitea.gna.org/Gna/website/settings/keys (with write access)
- xclip -sel clip -in < /tmp/pages
- use that to add the hostea_write_deploy_key (see .woodpecker.yml) in https://woodpecker.gna.org/Gna/website/settings#secrets
- get the secret for pages in ~/.enough/gna.org/inventory/group_vars/pages-service-group.yml
- add secret for pages in https://woodpecker.gna.org/Gna/website/settings#secrets under the name pages_deploy_secret to match .woodpecker.yml