Bump version
Changed image to archlinux. Thanks ~suhas!
Fix wrong YAML comment token. Thanks ~darylsun!
by Gil
Heads up!: It's recommended that you delete the files currently in your weblog prior to using git. To do that, add a blank reset
file under the configuration
folder.
If you're using macOS/Linux/UNIX: Files starting with a .
are usually hidden by your OS's file manager, as they assume it's a system file. Take that into account after renaming the .build.yml
file. Most IDEs show these files anyways and there's usually an option on your file manager to show hidden files.
example.build.yml
and replace the URL in line 7 with the read-only clone URL of your repository. If your repository's visibility is set to private, you'll want to follow sourcehut's documentation on the subject. Rename the file to .build.yml
after you're done making the necessary changes.secretvars.sh
and keep it somewhere safe outside your repo (we are going to put secret stuff in it).secretvars.sh
edit line 4 and replace foobar
with the portion of your address before the .omg.lol
part.secretvars.sh
edit line 5 and replace insert-api-token-here
with the API key you retrieved from your account page.secretvars.sh
edit line 6 and replace myweblog
with your repo name (the part after the https://git.sr.ht/~foobar/
).~/.secretvars
, type 777
, and upload the edited secretvars.sh
file. Give it a name, for your reference, and click "Add secret"..build.yml
, edit line 3 replace YOUR_SOURCEHUT_SECRET_ID
with the identifier you copied in the last step..md
files under a weblog
folder and your custom configuration.txt
and template.html
files under a configuration
folder.You can then remove the reset
file, if you've added it, from any subsequent commits as it's no longer necessary.
TL;DR: Do whatever you want with it, no attribution required (although is always apprecciated :D). You're on your own though, no warranty/support here.
The code in this repository is made available under the BSD Zero Clause License. You can read it in LICENSE
.
Improvements are always welcome!