mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 03:41:01 +00:00
CI: fix pipeline "deploy-docs"
This commit is contained in:
parent
9267a46d5c
commit
9d8f3d2dc7
1 changed files with 2 additions and 1 deletions
|
@ -14,9 +14,10 @@ pipeline:
|
|||
- GIT_USER=woodpecker-bot
|
||||
- DEPLOYMENT_BRANCH=master
|
||||
commands:
|
||||
- apk add openssh-client git
|
||||
- mkdir -p $HOME/.ssh
|
||||
- ssh-keyscan -t rsa github.com >> $HOME/.ssh/known_hosts
|
||||
- echo "$BOT_PRIVATE_KEY > $HOME/.ssh/id_rsa"
|
||||
- echo "$BOT_PRIVATE_KEY" > $HOME/.ssh/id_rsa
|
||||
- chmod 0600 $HOME/.ssh/id_rsa
|
||||
- cd docs/
|
||||
- yarn install --frozen-lockfile
|
||||
|
|
Loading…
Reference in a new issue