This commit is contained in:
@@ -27,12 +27,19 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
chmod 700 ~/.ssh
|
chmod 700 ~/.ssh
|
||||||
echo "$DEPLOY_KEY" > ~/.ssh/id_rsa
|
printf '%s\n' "$DEPLOY_KEY" > ~/.ssh/id_rsa
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
eval "$(ssh-agent -s)"
|
eval "$(ssh-agent -s)"
|
||||||
ssh-add ~/.ssh/id_rsa
|
ssh-add ~/.ssh/id_rsa
|
||||||
ssh-keyscan -H git.hudsonriggs.systems >> ~/.ssh/known_hosts
|
ssh-keyscan -p 22113 -H git.hudsonriggs.systems >> ~/.ssh/known_hosts
|
||||||
git remote set-url origin git@git.hudsonriggs.systems:HRiggs/tools.git
|
{
|
||||||
|
echo "Host git.hudsonriggs.systems";
|
||||||
|
echo " HostName git.hudsonriggs.systems";
|
||||||
|
echo " Port 22113";
|
||||||
|
echo " User git";
|
||||||
|
} >> ~/.ssh/config
|
||||||
|
chmod 600 ~/.ssh/config
|
||||||
|
git remote set-url origin ssh://git@git.hudsonriggs.systems:22113/HRiggs/tools.git
|
||||||
|
|
||||||
- name: Generate README
|
- name: Generate README
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user