aboutsummaryrefslogtreecommitdiff
path: root/posts/jekyll-sourcehut.md
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-20 12:13:49 -0400
committerBradley Taunt <bt@btxx.org>2024-07-20 12:13:49 -0400
commitb810d9a0b47dd49a90cc8ec7bf1b05f59ff945b3 (patch)
treed4e70797a7c1237a7e8a9be0d025e878d2601160 /posts/jekyll-sourcehut.md
parentf39a84524d77bcc2a83adfab01716c67cc7e983b (diff)
Crude testing with blogrb
Diffstat (limited to 'posts/jekyll-sourcehut.md')
-rw-r--r--posts/jekyll-sourcehut.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/posts/jekyll-sourcehut.md b/posts/jekyll-sourcehut.md
index c29d649..5ae7196 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).