blob: 5058054232ae742c9aafb83549b43343f4f48d18 (plain
This repo contains the source code of my [blog](https://fwei.tk/blog)
(in Markdown), and a collection of scripts I use to automate building
and deployment. I created this with solely my own use in mind -- if
you'd like to use this for your own use, feel free -- but you're on
Markdown files reside in `posts/`. Each post should have a
corresponding entry in `index.csv` with `FILENAME.md:TITLE` as the
fields (note that `:` is the delimiter).
Assorted files (such as images) can be placed in `files/`.
Run `./build.sh` from the project root. This will produce the compiled
output in `blog-staging`.
Run `./deploy.sh`. It will try to log into my website. This will not
work. Edit it for your own needs.
To deploy to *p*roduction, run `./deploy.sh -p`. Again, this will not
work unless you have my SSH key.