diff options
author | Bradley Taunt <bt@btxx.org> | 2024-07-14 12:26:35 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-07-14 12:26:35 -0400 |
commit | e8876fb866c3d89c432dcd04634e9bd2ced18022 (patch) | |
tree | 2c9a51310bd9bd8041e5d7bbb85bbfd010e2b514 /posts/jekyll-sourcehut.md | |
parent | c803e304d959f4926a55068d2b11f64bf4c95607 (diff) |
Switch things back to smu instead of lowdown
Diffstat (limited to 'posts/jekyll-sourcehut.md')
-rw-r--r-- | posts/jekyll-sourcehut.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/posts/jekyll-sourcehut.md b/posts/jekyll-sourcehut.md index 5ae7196..c29d649 100644 --- a/posts/jekyll-sourcehut.md +++ b/posts/jekyll-sourcehut.md @@ -38,7 +38,7 @@ In order to have your Jekyll site build and push the correct files live, you wil To make things easier, you can copy the build file below (remember to use your *own* information for usernames, git repo naming etc): -~~~sh +```sh image: debian/stable oauth: pages.sr.ht/PAGES:RW packages: @@ -60,7 +60,7 @@ tasks: tar -cvz . > ../../site.tar.gz - upload: | acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz -~~~ +``` Save this file as `.build.yml` and place it in the root directory of your Jekyll source code. @@ -73,17 +73,17 @@ If you're like me and want to use your own custom domain - have no fear! This pr First, add a new A Record through your domain provider: -~~~sh +```sh @ IN A 173.195.146.139 -~~~ +``` Then change the following `environment` parameter inside your existing `.build.yml` file: -~~~sh +```sh environment: site: yourcustomdomain.com -~~~ +``` And that's it - custom domain set! If you run into any issues check out the [official documentation on custom domains](https://srht.site/custom-domains). |