fix token name and actually add the secret
This commit is contained in:
parent
b34479b748
commit
cd31b2a153
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@ let script = ''
|
|||
${pkgs.gitMinimal}/bin/git fetch origin
|
||||
${pkgs.gitMinimal}/bin/git reset --hard origin/main
|
||||
|
||||
TOKEN="$(${pkgs.coreutils}/bin/cat /run/secrets/hydra/gitea_token)"
|
||||
TOKEN="$(${pkgs.coreutils}/bin/cat /run/secrets/services/hydra/gitea_token)"
|
||||
|
||||
deploy_finished() {
|
||||
MAIN_SHA=$(${pkgs.curl}/bin/curl -X GET \
|
||||
|
@ -56,4 +56,5 @@ let script = ''
|
|||
OnBootSec = 3600;
|
||||
};
|
||||
};
|
||||
sops.secrets."services/hydra/gitea_token" = { };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue