Disable netrc (experimental)
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Nicolai Ort 2023-11-07 19:45:31 +01:00
parent 58c4f67ada
commit d870961563
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 7 additions and 7 deletions

View File

@ -2,13 +2,13 @@
set -euo pipefail
if [[ ! -z "${DRONE_NETRC_MACHINE}" ]]; then
cat <<EOF > ${HOME}/.netrc
machine ${DRONE_NETRC_MACHINE}
login ${DRONE_NETRC_USERNAME}
password ${DRONE_NETRC_PASSWORD}
EOF
fi
# if [[ ! -z "${DRONE_NETRC_MACHINE}" ]]; then
# cat <<EOF > ${HOME}/.netrc
# machine ${DRONE_NETRC_MACHINE}
# login ${DRONE_NETRC_USERNAME}
# password ${DRONE_NETRC_PASSWORD}
# EOF
# fi
if [[ -z "${DRONE_COMMIT_AUTHOR_NAME}" ]]; then
export DRONE_COMMIT_AUTHOR_NAME=drone