feat: add initial multi-environment CI/CD pipeline POC #1

Merged
nietzshn merged 20 commits from dev into staging 2026-06-02 22:04:02 -06:00
Showing only changes of commit d6b17268dd - Show all commits
+2 -16
View File
@@ -55,11 +55,12 @@ jobs:
needs: build-and-push
steps:
- name: Deploy via SSH
uses: appleboy/ssh-action@v1.0.3
uses: appleboy/ssh-action@v1.2.5
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USERNAME }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
passphrase: ${{ secrets.DEPLOY_PASSPHRASE }}
script: |
set -euo pipefail
@@ -97,19 +98,4 @@ jobs:
echo "::error::QA health check failed"
exit 1
notify:
name: Notification
runs-on: ubuntu-latest
needs: [build-and-push, deploy]
if: always()
steps:
- name: Write summary
run: |
cat << 'SUMMARY' >> $GITEA_HOME/workflow/summary
## QA Deployment ${{ needs.deploy.result }}
**Branch:** dev
**Commit:** ${{ gitea.sha }}
**Image:** ${{ vars.REGISTRY_URL }}/${{ vars.IMAGE_NAME }}:qa-latest
**URL:** https://practicas.qa.kubistudio.cloud
SUMMARY