Skip to content

Commit

Permalink
Use different hosts and keys
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman authored Jan 12, 2021
1 parent 9037e4c commit 4f8df0b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/milestone-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,18 @@ jobs:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
mkdir -p ~/.ssh
cat .github/workflows/ssh_config.txt >>.ssh/config
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-keyscan github.com >> ~/.ssh/known_hosts
ssh-add - <<< "${BEAUTIFIER_IO_DEPLOY_KEY}"
ssh-add - <<< "${JS_BEAUTIFY_DEPLOY_KEY}"
git remote add site git@github.com:beautifier/beautifier.io.git
git remote add trigger git@github.com:beautify-web/js-beautify.git
cat >.ssh/deploy_beautifier_io <<< "${BEAUTIFIER_IO_DEPLOY_KEY}"
cat >.ssh/deploy_js_beautify <<< "${JS_BEAUTIFY_DEPLOY_KEY}"
ssh-add .ssh/deploy_beautifier_io
ssh-add .ssh/deploy_js_beautify
git remote add site git@beautifier-github.com:beautifier/beautifier.io.git
git remote add trigger git@js-beautify-github.com:beautify-web/js-beautify.git
git fetch --all
- name: Install python twinE
run: pip install twine
Expand Down

0 comments on commit 4f8df0b

Please sign in to comment.