diff --git a/.woodpecker.yml b/.woodpecker.yml index 399ea7b..4209d3f 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -12,7 +12,6 @@ pipeline: - nix develop --command scripts/build.sh secrets: - gitea_token - - git_credentials - s3_bucket - s3_endpoint - s3_access_key_id @@ -28,7 +27,6 @@ pipeline: - nix develop --command scripts/release.sh secrets: - gitea_token - - git_credentials - s3_bucket - s3_endpoint - s3_access_key_id diff --git a/scripts/release.sh b/scripts/release.sh index 90cd15e..70a46b0 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -21,7 +21,7 @@ rm -f dmoonfire* if [ "x$CI" != "x" ] then log "changing Git URL to allow for pushing" - git remote set-url origin https://dmoonfire:$GITEA_TOKEN@src.mfgames.com/fedran-sources/i-will-hurt-you-only-once.git + git remote set-url origin https://dmoonfire:$(GITEA_TOKEN)@src.mfgames.com/fedran-sources/i-will-hurt-you-only-once.git else log "not changing Git URL because we are not in a CI" fi