From 6637156f740355fb038af6dcdd4c8b1edecb9fd0 Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Wed, 12 Oct 2022 17:03:06 -0500 Subject: [PATCH] build: working on Woodpecker environment variables --- .woodpecker.yml | 2 -- scripts/release.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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