This commit is contained in:
parent
3b63c81108
commit
a31ecf6061
2
.github/github_pushback.sh
vendored
2
.github/github_pushback.sh
vendored
@ -4,7 +4,7 @@ mkdir -p ~/.ssh
|
|||||||
ssh-keyscan pika-os.com >> ~/.ssh/known_hosts
|
ssh-keyscan pika-os.com >> ~/.ssh/known_hosts
|
||||||
ssh-keyscan git.pika-os.com >> ~/.ssh/known_hosts
|
ssh-keyscan git.pika-os.com >> ~/.ssh/known_hosts
|
||||||
#echo -e "Host git.pika-os.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
#echo -e "Host git.pika-os.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
||||||
echo -e "Host git.pika-os.com\n\tIdentityFile ~/.ssh/id_rsa\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
|
#echo -e "Host git.pika-os.com\n\tIdentityFile ~/.ssh/id_rsa\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
|
||||||
#ssh-agent -a $SSH_AUTH_SOCK > /dev/null
|
#ssh-agent -a $SSH_AUTH_SOCK > /dev/null
|
||||||
#ssh-add - <<< "$1"
|
#ssh-add - <<< "$1"
|
||||||
|
|
||||||
|
2
.github/workflows/github-pushback.yml
vendored
2
.github/workflows/github-pushback.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
- name: Set up SSH
|
- name: Set up SSH
|
||||||
uses: webfactory/ssh-agent@v0.5.3
|
uses: webfactory/ssh-agent@v0.5.3
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.SSH_KEY }}
|
ssh-private-key: ${{ secrets.GITEA_SSH_KEY }}
|
||||||
|
|
||||||
- name: Run
|
- name: Run
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user