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/' })