mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-19 12:48:47 +00:00
CI: fix pipeline "deploy-docs"
This commit is contained in:
@@ -14,9 +14,10 @@ pipeline:
|
|||||||
- GIT_USER=woodpecker-bot
|
- GIT_USER=woodpecker-bot
|
||||||
- DEPLOYMENT_BRANCH=master
|
- DEPLOYMENT_BRANCH=master
|
||||||
commands:
|
commands:
|
||||||
|
- apk add openssh-client git
|
||||||
- mkdir -p $HOME/.ssh
|
- mkdir -p $HOME/.ssh
|
||||||
- ssh-keyscan -t rsa github.com >> $HOME/.ssh/known_hosts
|
- 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
|
- chmod 0600 $HOME/.ssh/id_rsa
|
||||||
- cd docs/
|
- cd docs/
|
||||||
- yarn install --frozen-lockfile
|
- yarn install --frozen-lockfile
|
||||||
|
Reference in New Issue
Block a user