idk
Some checks failed
Github Push back to gitea / build (push) Failing after 46s

This commit is contained in:
Ward from fusion-voyager-3 2024-12-04 20:51:52 +03:00
parent 86b4843f14
commit 37f6b7ddb1
2 changed files with 7 additions and 5 deletions

View File

@ -7,6 +7,11 @@ else
echo "No push back here" && exit 1
fi
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "$1"
ssh -vT git@git.pika-os.com
# Commit changes to git

View File

@ -17,10 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup SSH Keys and known_hosts
- name: Run
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: mkdir -p ~/.ssh && ssh-keyscan pika-os.com >> ~/.ssh/known_hosts && ssh-agent -a $SSH_AUTH_SOCK > /dev/null && ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
- name: Run
run: ./.github/github_pushback.sh
run: ./.github/github_pushback.sh "${{ secrets.SSH_PRIVATE_KEY }}"