From 3eac3538d6e75c3ae5dc9ecb29ce40f093c1ed52 Mon Sep 17 00:00:00 2001 From: Bailey Taylor Date: Tue, 23 Sep 2025 08:15:40 +0000 Subject: [PATCH] Updates to deploy.yaml, concatenating to one script. --- .gitea/workflows/deploy.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index f7d1861..68f043d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -23,9 +23,5 @@ jobs: fi - name: Deploy via script - run: | - if [[ "${{ steps.envmap.outputs.ENV }}" == "prod" ]]; then - bash /home/sonder/deploy-prod.sh - else - bash /home/sonder/deploy-dev.sh - fi + run: | + ssh ${SSH_USER}@${SSH_HOST} "bash /home/sonder/deploy.sh ${{ steps.envmap.outputs.ENV }}"