Pre script for ssh agent

This commit is contained in:
shockrah 2021-02-15 21:16:05 -08:00
parent 9983824e15
commit fc5d925c60

View File

@ -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