| 1 | # Similar to .builds/cpp.yaml for sourcehut |
| 2 | |
| 3 | use dialect sourcehut |
| 4 | |
| 5 | const image = 'debian/buster' |
| 6 | |
| 7 | # This should be an error, YUP |
| 8 | # image = 'oops' |
| 9 | |
| 10 | const packages = %(zip wget) |
| 11 | |
| 12 | const secrets = %(0123-abcd) |
| 13 | |
| 14 | TASK cpp { |
| 15 | cd oil |
| 16 | services/toil-worker.sh run-cpp |
| 17 | } |
| 18 | |
| 19 | TASK publish-html { |
| 20 | cd oil |
| 21 | services/sourcehut.sh publish-html-assuming-key |
| 22 | } |