~gpo/weblog.lol-build

b3961f517b2f7dfc236de46a1aec85271f88e4dd — Gil Oliveira 1 year, 9 months ago d15228c v1.0
Fix small typos
1 files changed, 5 insertions(+), 5 deletions(-)

M README.md
M README.md => README.md +5 -5
@@ 8,11 8,11 @@ by [Gil](https://gil.omg.lol)

1. Download `example.build.yml`, rename it to `.build.yml` and add it to the root of your repo.
2. Download `secretvars.sh` and keep it somewhere safe outside your repo (we are going to put secret stuff in it).
3. In `secretvars.sh` edit line 4 and replace `foobar` with the portion of your address before the `.omg.lol` part
4. In `secretvars.sh` edit line 5 and replace `insert-api-token-here` with the API key you retrieved from [your account page](https://home.omg.lol/account#api-key)
5. In `secretvars.sh` edit line 6 and replace `myweblog` with your repo name (the part after the `https://git.sr.ht/~foobar/`)
6. Navigate to the ["secrets" section of sourcehut builds](https://builds.sr.ht/secrets)
7. Select "File" under "Secret Type", type `~/.secretvars`, type `777`, and upload the edited `secretvars.sh` file. Give it a name, for your reference, and click "Add secret"
3. In `secretvars.sh` edit line 4 and replace `foobar` with the portion of your address before the `.omg.lol` part.
4. In `secretvars.sh` edit line 5 and replace `insert-api-token-here` with the API key you retrieved from [your account page](https://home.omg.lol/account#api-key).
5. In `secretvars.sh` edit line 6 and replace `myweblog` with your repo name (the part after the `https://git.sr.ht/~foobar/`).
6. Navigate to the ["secrets" section of sourcehut builds](https://builds.sr.ht/secrets).
7. Select "File" under "Secret Type", type `~/.secretvars`, type `777`, and upload the edited `secretvars.sh` file. Give it a name, for your reference, and click "Add secret".
8. On the right-hand side, a new entry will appear, copy the alphanumeric identifier over the name you gave your secret on the last step.
9. Edit `.build.yml`, edit line 3 replace `YOUR_SOURCEHUT_SECRET_ID` with the identifier you copied in the last step.
10. Add your weblog posts and pages as `.md` files under a `weblog` folder and your custom `configuration.txt` and `template.html` files under a `configuration` folder.