From 6a276b5ead1775f98c877f1cd149d58a3d50f6b8 Mon Sep 17 00:00:00 2001 From: Andreas Hnida Date: Wed, 17 Apr 2024 23:18:13 +0200 Subject: [PATCH] Add conditional check for deployment to development environment in pipeline-test.yaml file --- .gitea/workflows/pipeline-test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/pipeline-test.yaml b/.gitea/workflows/pipeline-test.yaml index 129decd..0ab67e8 100644 --- a/.gitea/workflows/pipeline-test.yaml +++ b/.gitea/workflows/pipeline-test.yaml @@ -60,6 +60,7 @@ jobs: run: hugo --minify - name: Deploy to Server + if: ${{ myEnv_env == 'development' }} uses: SamKirkland/FTP-Deploy-Action@4.0.0 with: protocol: ftps