mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-22 00:04:20 +01:00
Fix camptules after update
Signed-off-by: main <magic_rb@redalder.org>
This commit is contained in:
parent
f47f746c56
commit
f658de38a1
|
@ -39,7 +39,7 @@ nglib.makeSystem {
|
|||
pkgs.writeShellScriptBin "camptules"
|
||||
''
|
||||
export PATH=$PATH:${youtube-dl}/bin:${pkgs.ffmpeg}/bin
|
||||
echo new
|
||||
cd /secrets
|
||||
${lib.trace camptules.defaultPackage."x86_64-linux".outPath camptules.defaultPackage."x86_64-linux"}/bin/camptules
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1641345147,
|
||||
"narHash": "sha256-2DwiEp/pxQ/gIMlJyYOM/q2sEXaJ4LYqhdvW9TrFjpA=",
|
||||
"lastModified": 1650374345,
|
||||
"narHash": "sha256-YprUqDDomOackDUuVvXSeVQwjekXtoZSjLi0x2XjKes=",
|
||||
"ref": "master",
|
||||
"rev": "67759ba6aede849780dcedcc3b316ccc1c0084b0",
|
||||
"revCount": 39,
|
||||
"rev": "bc20eb7c20b906ee4fc6a936da7370d00f2c2739",
|
||||
"revCount": 42,
|
||||
"type": "git",
|
||||
"url": "https://gitea.redalder.org/ThyW/camptules"
|
||||
},
|
||||
|
|
|
@ -25,11 +25,19 @@ job "camptules" {
|
|||
template {
|
||||
data = <<EOF
|
||||
{{ with secret "kv/data/camptules" }}
|
||||
BOT_TOKEN={{ .Data.data.token }}
|
||||
{{ .Data.data.token }}
|
||||
{{ end }}
|
||||
EOF
|
||||
destination = "secrets/env"
|
||||
env = true
|
||||
destination = "secrets/cfg"
|
||||
}
|
||||
|
||||
template {
|
||||
data = <<EOF
|
||||
{{ with secret "kv/data/camptules" }}
|
||||
{{ .Data.data.ytb_api_key }}
|
||||
{{ end }}
|
||||
EOF
|
||||
destination = "secrets/ytb-api-key"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue