This commit is contained in:
Ward from fusion-voyager-3 2024-12-04 20:43:47 +03:00
parent 4edcf2c91e
commit 0676d7a3b5

View File

@ -17,16 +17,14 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install SSH key - name: Setup SSH Keys and known_hosts
uses: shimataro/ssh-key-action@v2 env:
with: SSH_AUTH_SOCK: /tmp/ssh_agent.sock
key: ${{ secrets.SSH_KEY }} run: |
name: id_rsa mkdir -p ~/.ssh
known_hosts: ${{ secrets.KNOWN_HOSTS }} ssh-keyscan pika-os.com >> ~/.ssh/known_hosts
if_key_exists: replace ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
- name: Export SSH KEY
run: echo "${{ secrets.SSH_KEY }}" > /root/.ssh/id_rsa
- name: Run - name: Run
run: ./.github/github_pushback.sh run: ./.github/github_pushback.sh