Updating key variable
This commit is contained in:
parent
f9f1dd6264
commit
f34b6512ad
@ -14,7 +14,7 @@ jobs:
|
|||||||
- name: Clone
|
- name: Clone
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.PI_GIT_KEY }}" | tr -d '\r' > ~/.ssh/id_ed25519
|
echo "${{ secrets.LOCAL_SSH_KEY }}" | tr -d '\r' > ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
ssh-keyscan git.kcrawford.net >> ~/.ssh/known_hosts
|
ssh-keyscan git.kcrawford.net >> ~/.ssh/known_hosts
|
||||||
git clone --branch ${GITHUB_REF_NAME} git@git.kcrawford.net:${{env.GITHUB_REPOSITORY}}.git .
|
git clone --branch ${GITHUB_REF_NAME} git@git.kcrawford.net:${{env.GITHUB_REPOSITORY}}.git .
|
||||||
|
Loading…
Reference in New Issue
Block a user