Last active
May 7, 2020 10:54
-
-
Save merltron-pa/271d64094aabf93eef47dca27517cbd9 to your computer and use it in GitHub Desktop.
Example workflow used in this article: https://medium.com/@merlin.pav/cc1e2aacd9da?source=friends_link&sk=dcb39201c9d8bf917e1329af08ea1719
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
steps: | |
- name: Checkout working branch | |
uses: actions/checkout@v1 | |
- name: Setup ssh | |
run: | | |
mkdir ~/.ssh/ | |
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa | |
chmod 600 ~/.ssh/id_rsa | |
touch ~/.ssh/known_hosts | |
ssh-keyscan github.com >> ~/.ssh/known_hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment