mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
update build process
This commit is contained in:
6
ci.sh
6
ci.sh
@@ -8,9 +8,9 @@ set -e
|
||||
[ -z $SSH_KEY ] && exit 1
|
||||
|
||||
# write a netrc file for authorization.
|
||||
mkdir -p $HOME/.ssh
|
||||
echo -n "$SSH_KEY" > $HOME/.ssh/id_rsa
|
||||
chmod 600 $HOME/.netrc
|
||||
mkdir /root/.ssh
|
||||
echo -n "$SSH_KEY" > /root/.ssh/id_rsa
|
||||
chmod 600 /root/.ssh/id_rsa
|
||||
|
||||
# clone the extras project.
|
||||
set +x
|
||||
|
||||
Reference in New Issue
Block a user