@@ 5,12 5,12 @@ by [Gil](https://gil.omg.lol)
## Instructions
1. Download `example.build.yml`, rename it to `.build.yml` and add it to the root of your repo.
-2. Download `.secretvars` and keep it somewhere safe outside your repo (we are going to put secret stuff in it).
-3. In `.secretvars` edit line 4 and replace `foobar` with the portion of your address before the `.omg.lol` part
-4. In `.secretvars` 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` edit line 6 and replace `myweblog` with your repo name (the part after the `https://git.sr.ht/~foobar/`)
+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` file. Give it a name, for your reference, and click "Add secret"
+7. Select "File" under "Secret Type", type `~/.secretvars`, type `777`, and upload the edited `secretvar.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. Commit and push your changes to your repo and the sourcehut builds job will automatically start. You can track its progress on the URL outputted by your console after you push your changes.