Pages repository for Itiquette organisation
|
Josef Andersson
46e318a15a
All checks were successful
Deploy to Codeberg Pages / build-and-deploy (push) Successful in 1m40s
Signed-off-by: Josef Andersson <janderssonse@proton.me> |
||
|---|---|---|
| .forgejo/workflows | docs: improve posts | |
| archetypes | chore: initial commit | |
| content | ci: fix about | |
| scripts/ci | chore: initial commit | |
| static | chore: add robots.txt | |
| themes/terminal | chore: initial commit | |
| .gitignore | chore: initial commit | |
| hugo.toml | chore: initial commit | |
| mise.toml | docs: improve posts | |
| README.md | chore: initial commit | |
| renovate.json | chore: initial commit | |
Itiquette Website
This repository hosts the Itiquette website built with Hugo and deployed to Codeberg Pages.
Live site: https://itiquette.codeberg.page/
Local Development
git clone https://codeberg.org/itiquette/pages.git
cd pages
git submodule update --init --recursive
hugo server -D
Visit http://localhost:1313 in your browser.
Deployment
The site is automatically deployed via Forgejo Actions when changes are pushed to main.
The workflow:
- Builds the Hugo site
- Pushes the output to the
pagesbranch - Codeberg Pages serves from that branch
Setup Requirements
- Self-hosted runner: Requires a runner with label
ci-builder - Secrets (Settings -> Actions -> Secrets):
| Secret | Purpose | Required | How to Create |
|---|---|---|---|
CODEBERG_TOKEN_RELEASE |
Push to pages branch | Yes | Codeberg → Bot Profile → Settings → Applications → Generate Token. Scope: write:repository |
SSH_SIGNING_KEY_RELEASE |
Sign deploy commits | Yes | ssh-keygen -t ed25519 -C "bot@email" -f key -N "". Add public key to bot's Codeberg profile under SSH/GPG Keys → Signing Keys. Store private key as secret. |
Note: The public key is derived automatically from the private key during deployment - no separate SSH_SIGNING_KEY_PUB secret is needed.
Bot Account
Uses itiquette-release-bot for deployments. The same CODEBERG_TOKEN_RELEASE and SSH_SIGNING_KEY_RELEASE can be shared with other projects using this bot (e.g., gommitlint releases).
Credits
- Built with Hugo (Apache 2.0 License)
- Using Terminal theme (MIT License)
- Hosted on Codeberg Pages