From fccf571a4aa808edb1071cfd1beb748204327509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20St=C3=BCckler?= Date: Tue, 10 Dec 2024 14:45:04 +0100 Subject: [PATCH] fix: workflow --- .github/workflows/preview.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 8cb48c07..e7c0fd7e 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -55,7 +55,6 @@ jobs: SFTP_PATH: ${{ secrets.SFTP_PATH }} SFTP_USER: ${{ secrets.SFTP_USER }} SFTP_PASSWORD: ${{ secrets.SFTP_PASSWORD }} - TARGET_URL: https://${{ github.head_ref }}.dev.tolocar.org/ steps: # - name: Set env to use shell substitution logic # run: echo "ASTRO_BASE_PATH=${GITHUB_HEAD_REF//\//-}" >> $GITHUB_ENV @@ -85,6 +84,6 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: '✅ Successfully deployed to: ${{ env.TARGET_URL }}' + body: '✅ Successfully deployed to: https://${{ env.GITHUB_HEAD_REF }}.dev.tolocar.org/' })