From fbcd7a506e0a9c039f69101812d786f62e9710ed Mon Sep 17 00:00:00 2001 From: DoctoDre Date: Wed, 22 Jul 2026 15:52:41 +0200 Subject: [PATCH] ci: unify SSH and SMTP secrets --- .gitea/workflows/andreknie-de-deploy.yml | 12 ++++++------ .gitea/workflows/projekt-kiq-hp-deploy.yml | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/andreknie-de-deploy.yml b/.gitea/workflows/andreknie-de-deploy.yml index a016032..277180f 100644 --- a/.gitea/workflows/andreknie-de-deploy.yml +++ b/.gitea/workflows/andreknie-de-deploy.yml @@ -23,18 +23,18 @@ jobs: - name: Copy project files to VM uses: appleboy/scp-action@v0.1.7 with: - host: ${{ secrets.SSH_HOST }} - username: ${{ secrets.SSH_USER }} - key: ${{ secrets.SSH_PRIVATE_KEY }} + host: ${{ secrets.DEPLOY_SSH_HOST }} + username: ${{ secrets.DEPLOY_SSH_USER }} + key: ${{ secrets.DEPLOY_SSH_KEY }} source: "privat/CV/andreknie.de/*" target: "/opt/orchestrator" - name: Execute Deployment on VM uses: appleboy/ssh-action@v1.0.3 with: - host: ${{ secrets.SSH_HOST }} - username: ${{ secrets.SSH_USER }} - key: ${{ secrets.SSH_PRIVATE_KEY }} + host: ${{ secrets.DEPLOY_SSH_HOST }} + username: ${{ secrets.DEPLOY_SSH_USER }} + key: ${{ secrets.DEPLOY_SSH_KEY }} script: | cd /opt/orchestrator/privat/CV/andreknie.de diff --git a/.gitea/workflows/projekt-kiq-hp-deploy.yml b/.gitea/workflows/projekt-kiq-hp-deploy.yml index dffed60..3d469fa 100644 --- a/.gitea/workflows/projekt-kiq-hp-deploy.yml +++ b/.gitea/workflows/projekt-kiq-hp-deploy.yml @@ -81,10 +81,10 @@ jobs: 'ADMIN_USER=${{ secrets.KIQ_ADMIN_USER }}' \ 'ADMIN_PASSWORD=${{ secrets.KIQ_ADMIN_PASSWORD }}' \ 'SESSION_SECRET=${{ secrets.KIQ_SESSION_SECRET }}' \ - 'SMTP_HOST=${{ secrets.KIQ_SMTP_HOST }}' \ - 'SMTP_PORT=${{ secrets.KIQ_SMTP_PORT }}' \ - 'SMTP_USER=${{ secrets.KIQ_SMTP_USER }}' \ - 'SMTP_PASS=${{ secrets.KIQ_SMTP_PASS }}' \ + 'SMTP_HOST=${{ secrets.SMTP_HOST }}' \ + 'SMTP_PORT=${{ secrets.SMTP_PORT }}' \ + 'SMTP_USER=${{ secrets.SMTP_USER }}' \ + 'SMTP_PASS=${{ secrets.SMTP_PASS }}' \ 'ALERT_EMAIL=${{ secrets.KIQ_ALERT_EMAIL }}' \ > ${DEPLOY_PATH}/.env"