Compare commits
3 Commits
4232531d31
...
31a8f290b4
Author | SHA1 | Date | |
---|---|---|---|
31a8f290b4 | |||
6737d9981c | |||
356e87d48f |
2
.github/workflows/blog.yaml
vendored
2
.github/workflows/blog.yaml
vendored
@ -1,5 +1,5 @@
|
||||
# Sample workflow for building and deploying a Hugo site to GitHub Pages
|
||||
name: Deploy Hugo site to Pages
|
||||
name: Build and deploy site to GitHub Pages
|
||||
|
||||
on:
|
||||
# Runs on pushes targeting the default branch
|
||||
|
@ -1,12 +1,16 @@
|
||||
# Kristian's Reproducible Website
|
||||
|
||||
[![GitHub Pages Status](https://github.com/Krsnik/blog/actions/workflows/blog.yaml/badge.svg)](https://github.com/Krsnik/blog/actions/workflows/blog.yaml)
|
||||
|
||||
This project is my personal website, using Hugo with asciidoc as a static site generator.
|
||||
The site is hosted on GitLab pages, using the supplied `.gitlab-ci.yaml` file, which just builds the `flake.nix` file.
|
||||
|
||||
## Development
|
||||
|
||||
To preview changes serve the website with `hugo serve` and set `draft: false` in your blogpost.
|
||||
To preview changes serve the website with `hugo serve -D`. This will build all content that has `draf: true` set in the header.
|
||||
This will also build the theme's content, if it includes one.
|
||||
If you are only interested how the published site will look do `hugo serve`.
|
||||
|
||||
## Deployment
|
||||
|
||||
Just push the changes to GitLab and the automatic CI/CD will build and deploy the website.
|
||||
This repo includes CI/CD configurations for GitHub and GitLab, so all you need to do is push any changes.
|
||||
|
Loading…
Reference in New Issue
Block a user