build: working on Woodpecker environment variables
This commit is contained in:
parent
d5d5042afb
commit
6637156f74
2 changed files with 1 additions and 3 deletions
|
@ -12,7 +12,6 @@ pipeline:
|
||||||
- nix develop --command scripts/build.sh
|
- nix develop --command scripts/build.sh
|
||||||
secrets:
|
secrets:
|
||||||
- gitea_token
|
- gitea_token
|
||||||
- git_credentials
|
|
||||||
- s3_bucket
|
- s3_bucket
|
||||||
- s3_endpoint
|
- s3_endpoint
|
||||||
- s3_access_key_id
|
- s3_access_key_id
|
||||||
|
@ -28,7 +27,6 @@ pipeline:
|
||||||
- nix develop --command scripts/release.sh
|
- nix develop --command scripts/release.sh
|
||||||
secrets:
|
secrets:
|
||||||
- gitea_token
|
- gitea_token
|
||||||
- git_credentials
|
|
||||||
- s3_bucket
|
- s3_bucket
|
||||||
- s3_endpoint
|
- s3_endpoint
|
||||||
- s3_access_key_id
|
- s3_access_key_id
|
||||||
|
|
|
@ -21,7 +21,7 @@ rm -f dmoonfire*
|
||||||
if [ "x$CI" != "x" ]
|
if [ "x$CI" != "x" ]
|
||||||
then
|
then
|
||||||
log "changing Git URL to allow for pushing"
|
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
|
else
|
||||||
log "not changing Git URL because we are not in a CI"
|
log "not changing Git URL because we are not in a CI"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue