build: working on Woodpecker environment variables

This commit is contained in:
D. Moonfire 2022-10-12 17:03:06 -05:00
parent d5d5042afb
commit 6637156f74
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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