mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 10:01:17 +00:00
[ci] Fix publish-rustdoc (#10364)
This commit is contained in:
committed by
GitHub
parent
3675d87f51
commit
48b03c3732
@@ -842,12 +842,12 @@ publish-rustdoc:
|
||||
# whole space-separated value.
|
||||
- '[[ " ${RUSTDOCS_DEPLOY_REFS} " =~ " ${CI_COMMIT_REF_NAME} " ]] || exit 0'
|
||||
# setup ssh
|
||||
# FIXME: add ssh to docker image
|
||||
- apt-get update && apt-get install -y ssh
|
||||
- eval $(ssh-agent)
|
||||
- ssh-add - <<< ${GITHUB_SSH_PRIV_KEY}
|
||||
- mkdir ~/.ssh && touch ~/.ssh/known_hosts
|
||||
- ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
|
||||
- rm -rf /tmp/*
|
||||
# Set git config
|
||||
- git config user.email "devops-team@parity.io"
|
||||
- git config user.name "${GITHUB_USER}"
|
||||
|
||||
Reference in New Issue
Block a user