From 1d14f181b048983b66bb48f45c959fad4b0912b5 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Thu, 23 Dec 2021 13:28:48 +0000 Subject: [PATCH] Try setting derived env variable in second step --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c38206a0..2b1471c7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,6 +19,8 @@ jobs: echo "releasesDir=${{ secrets.DEPLOYMENT_BASE_DIR }}/releases" >> $GITHUB_ENV echo "persistentDir=${{ secrets.DEPLOYMENT_BASE_DIR }}/persistent" >> $GITHUB_ENV echo "currentDir=${{ secrets.DEPLOYMENT_BASE_DIR }}/current" >> $GITHUB_ENV + - name: 🌎 Set Environment Variables Part 2 + run: | echo "newReleaseDir=${{ env.releasesDir }}/${{ env.newReleaseName }}" >> $GITHUB_ENV - name: 🔄 Clone Repository uses: appleboy/ssh-action@master @@ -34,7 +36,7 @@ jobs: cd ${{ env.releasesDir }} - # A littlw debugging + # A little debugging echo "${{ env.releasesDir }}" echo "${{ env.newReleaseDir }}"