Fix SSG and just commmands

This commit is contained in:
2024-09-15 22:08:44 +02:00
parent e8330c10c2
commit 50694c43f5
5 changed files with 46 additions and 10 deletions

View File

@ -0,0 +1,25 @@
# CI/CD Pipeline
Gitea server for production.
Github actions for build and release.
Release -> Publish.
## Build step
1. Compile project
2. Run in production mode
3. wget command to download and create a static site.
a) ensure every image is downloaded and created / we can create a cache mechanism to download images from previous build / save a ton of time
4. Backup old version
5. Publish new version
## Development
1. Build the project
2. Wget cannot be run on dev server due to tower reload
## TODO
- Some weird links (Colemak)