bruhhhhh
Skyweave Test, Lint, and Deploy Ritual / Test and Lint Code (push) Successful in 29s
Skyweave Test, Lint, and Deploy Ritual / Deploy to Roof Unit (push) Successful in 18s

This commit is contained in:
wes
2025-06-16 22:57:26 -04:00
parent 5ed4bf00fc
commit db012b67a5
+16 -4
View File
@@ -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
@@ -70,10 +69,23 @@ jobs:
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: |
echo "Initiating deployment sequence..."