From db012b67a5cd2dd722b7a32888d174a6c7052b61 Mon Sep 17 00:00:00 2001 From: Wesley Ray Date: Mon, 16 Jun 2025 22:57:26 -0400 Subject: [PATCH] bruhhhhh --- .gitea/workflows/ci.yaml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 6114f5e..61ba38d 100755 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -51,7 +51,7 @@ jobs: - name: 1. Checkout Repository Code uses: actions/checkout@v4 - - name: 2. Prepare SSH Environment + - name: 2. Diagnostic SSH Environment Check run: | echo "Preparing the sacred keys and crypto-litany for SSH communion..." mkdir -p ~/.ssh/ @@ -60,7 +60,6 @@ jobs: echo "${{ secrets.ROOF_UNIT_SSH_KEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - echo "Writing the scripture of connection (~/.ssh/config)..." echo "Host roof-unit" > ~/.ssh/config echo " HostName ${{ secrets.ROOF_UNIT_HOSTNAME }}" >> ~/.ssh/config echo " User ${{ secrets.ROOF_UNIT_USER }}" >> ~/.ssh/config @@ -69,10 +68,23 @@ jobs: echo " HostKeyAlgorithms +ssh-rsa" >> ~/.ssh/config echo " MACs +hmac-sha1" >> ~/.ssh/config echo " PubkeyAcceptedAlgorithms +ssh-rsa" >> ~/.ssh/config - - # --- RITE OF IMPLANTATION --- - echo "Implanting the known host key from Gitea secrets..." + echo "${{ secrets.ROOF_UNIT_KNOWN_HOSTS_ENTRY }}" >> ~/.ssh/known_hosts + + echo "--- SCRIPTURE VERIFICATION ---" + echo "Verifying contents of ~/.ssh/config:" + cat ~/.ssh/config + echo "--------------------------------" + echo "Verifying contents of ~/.ssh/known_hosts:" + cat ~/.ssh/known_hosts + echo "--------------------------------" + echo "Verifying permissions of private key:" + ls -l ~/.ssh/id_rsa + echo "--------------------------------" + + # --- VERBOSE COMMUNION ATTEMPT --- + echo "Attempting verbose SSH connection for diagnostics..." + ssh -vvv roof-unit "echo 'Test SSH connection successful'" - name: 3. Execute Deployment Ritual run: |