chore: Sync MokoStandards workflows and configurations #71

Merged
jmiller-moko merged 10 commits from chore/sync-mokostandards-updates into main 2026-01-30 03:43:52 +00:00
Showing only changes of commit 9235ec44a4 - Show all commits

View File

@@ -148,9 +148,6 @@ jobs:
chmod 600 ~/.ssh/deploy_key
ssh-keyscan -H "${{ secrets.DEPLOY_HOST }}" >> ~/.ssh/known_hosts
# Ensure cleanup happens even on failure
trap 'rm -f ~/.ssh/deploy_key' EXIT
- name: Deploy via rsync
if: inputs.deployment-method == 'rsync'
run: |
@@ -251,6 +248,12 @@ jobs:
echo "❌ Health check failed after ${TIMEOUT}s" >> $GITHUB_STEP_SUMMARY
exit 1
- name: Cleanup SSH key
if: always() && (inputs.deployment-method == 'ssh' || inputs.deployment-method == 'rsync')
run: |
rm -f ~/.ssh/deploy_key
echo "SSH key cleaned up"
- name: Update deployment status (success)
if: success()
uses: chrnorm/deployment-status@v2