Created
December 6, 2017 12:53
-
-
Save tamakiii/1b0f40e36e5b93b90964ae469c839a2b to your computer and use it in GitHub Desktop.
wercker build with `add-ssh-key` locally
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/wercker/step-add-ssh-key/blob/ff3f3c160a637a72f737de211d3ef22f70bf42e8/run.sh | |
X_GITHUB_SSH_KEY_PRIVATE=$(cat ~/.ssh/id_rsa) wercker --debug --verbose build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
box: | |
id: ... | |
build: | |
steps: | |
- add-ssh-key: | |
keyname: GITHUB_SSH_KEY | |
host: github.com | |
- add-to-known_hosts: | |
hostname: github.com | |
fingerprint: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 | |
- add-to-known_hosts: | |
hostname: github.com | |
fingerprint: SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 | |
- script: | |
name: clone | |
code: git clone ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://help.github.com/articles/github-s-ssh-key-fingerprints/