This commit is contained in:
parent
0362631a11
commit
c1aada8523
3
.github/github_pushback.sh
vendored
3
.github/github_pushback.sh
vendored
@ -10,7 +10,8 @@ ssh-keyscan -H git.pika-os.com >> ~/.ssh/known_hosts
|
|||||||
|
|
||||||
#export GIT_SSH_COMMAND="ssh -F ~/.ssh/config"
|
#export GIT_SSH_COMMAND="ssh -F ~/.ssh/config"
|
||||||
|
|
||||||
ssh -o StrictHostKeyChecking=no -vT git@git.pika-os.com
|
#ssh -o StrictHostKeyChecking=no -vT git@git.pika-os.com
|
||||||
|
ssh -vT git@git.pika-os.com
|
||||||
|
|
||||||
# Commit changes to git
|
# Commit changes to git
|
||||||
git config --global user.name 'ferreo'
|
git config --global user.name 'ferreo'
|
||||||
|
9
.github/workflows/github-pushback.yml
vendored
9
.github/workflows/github-pushback.yml
vendored
@ -21,10 +21,13 @@ jobs:
|
|||||||
- name: Is github check
|
- name: Is github check
|
||||||
run: echo "${PWD##*/}" | grep "gitea-pika-first-setup" || exit 1
|
run: echo "${PWD##*/}" | grep "gitea-pika-first-setup" || exit 1
|
||||||
|
|
||||||
- name: Set up SSH
|
- name: Install SSH key
|
||||||
uses: webfactory/ssh-agent@v0.5.3
|
uses: shimataro/ssh-key-action@v2
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.GITEA_SSH_KEY }}
|
key: ${{ secrets.GITEA_SSH_KEY }}
|
||||||
|
name: id_rsa
|
||||||
|
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||||
|
if_key_exists: replace
|
||||||
|
|
||||||
- name: Run
|
- name: Run
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user