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

This commit is contained in:
Ward from fusion-voyager-3 2024-12-04 23:34:42 +03:00
parent 2209d77ac9
commit 8f873659fb
2 changed files with 12 additions and 7 deletions

View File

@ -1,12 +1,5 @@
#! /bin/bash
if echo "${PWD##*/}" | grep "gitea-pika-first-setup"
then
echo "This is github attempt pushback"
else
echo "No push back here" && exit 1
fi
mkdir -p ~/.ssh
ssh-keyscan pika-os.com >> ~/.ssh/known_hosts
ssh-keyscan git.pika-os.com >> ~/.ssh/known_hosts

View File

@ -15,8 +15,20 @@ jobs:
options: --privileged -it
steps:
- name: Is github check
run: echo "${PWD##*/}" | grep "gitea-pika-first-setup" || exit 1
- uses: actions/checkout@v3
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace
- name: Run
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock