Pre script for ssh agent
This commit is contained in:
parent
9983824e15
commit
fc5d925c60
@ -96,6 +96,12 @@ build-wiki:
|
||||
only: [ "master" ]
|
||||
stage: build
|
||||
|
||||
before_script:
|
||||
- eval $(ssh-agent -s)
|
||||
- echo "${SSH_PRIVATE_KEY}" | ssh-add - > /dev/null
|
||||
- mkdir -p ~/.ssh/
|
||||
- chmod 700 ~/.ssh/
|
||||
|
||||
script:
|
||||
- cd docs/
|
||||
- hugo
|
||||
|
Loading…
Reference in New Issue
Block a user