mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 05:41:12 +00:00
update build process
This commit is contained in:
parent
4a40647ca0
commit
d100daf033
1 changed files with 3 additions and 3 deletions
6
ci.sh
6
ci.sh
|
@ -8,9 +8,9 @@ set -e
|
||||||
[ -z $SSH_KEY ] && exit 1
|
[ -z $SSH_KEY ] && exit 1
|
||||||
|
|
||||||
# write a netrc file for authorization.
|
# write a netrc file for authorization.
|
||||||
mkdir -p $HOME/.ssh
|
mkdir /root/.ssh
|
||||||
echo -n "$SSH_KEY" > $HOME/.ssh/id_rsa
|
echo -n "$SSH_KEY" > /root/.ssh/id_rsa
|
||||||
chmod 600 $HOME/.netrc
|
chmod 600 /root/.ssh/id_rsa
|
||||||
|
|
||||||
# clone the extras project.
|
# clone the extras project.
|
||||||
set +x
|
set +x
|
||||||
|
|
Loading…
Reference in a new issue