From e8876fb866c3d89c432dcd04634e9bd2ced18022 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Sun, 14 Jul 2024 12:26:35 -0400 Subject: Switch things back to smu instead of lowdown --- posts/jekyll-sourcehut.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'posts/jekyll-sourcehut.md') 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). -- cgit v1.2.3-54-g00ecf