mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-26 10:20:29 +00:00
Merge pull request #1730 from Bugagazavr/patch-6
Correct permission for netrc file
This commit is contained in:
commit
2240ac354c
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ machine $DRONE_NETRC_MACHINE
|
||||||
login $DRONE_NETRC_USERNAME
|
login $DRONE_NETRC_USERNAME
|
||||||
password $DRONE_NETRC_PASSWORD
|
password $DRONE_NETRC_PASSWORD
|
||||||
EOF
|
EOF
|
||||||
|
chmod 0600 $HOME/.netrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unset DRONE_NETRC_USERNAME
|
unset DRONE_NETRC_USERNAME
|
||||||
|
|
Loading…
Reference in a new issue