diff --git a/.github/workflows/test-env-cleanup.yml b/.github/workflows/test-env-cleanup.yml index a0216056d..b4832c83b 100644 --- a/.github/workflows/test-env-cleanup.yml +++ b/.github/workflows/test-env-cleanup.yml @@ -14,7 +14,7 @@ jobs: - name: Set domain # Set test instance domain based on branch name slug run: | - echo "::set-env name=domain::${{ env.GITHUB_HEAD_REF_SLUG }}.dashboard.saleor.rocks" + echo "::set-env name=domain::${{ env.GITHUB_HEAD_REF_SLUG_URL }}.dashboard.saleor.rocks" - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 @@ -34,4 +34,4 @@ jobs: with: step: deactivate-env token: ${{ secrets.GITHUB_TOKEN }} - env: ${{ env.GITHUB_HEAD_REF_SLUG }} + env: ${{ env.GITHUB_HEAD_REF_SLUG_URL }} diff --git a/.github/workflows/test-env-deploy.yml b/.github/workflows/test-env-deploy.yml index c9eb2f345..dd2c55321 100644 --- a/.github/workflows/test-env-deploy.yml +++ b/.github/workflows/test-env-deploy.yml @@ -22,7 +22,7 @@ jobs: with: step: start token: ${{ secrets.GITHUB_TOKEN }} - env: ${{ env.GITHUB_HEAD_REF_SLUG }} + env: ${{ env.GITHUB_HEAD_REF_SLUG_URL }} ref: ${{ github.head_ref }} - name: Cache node modules @@ -63,7 +63,7 @@ jobs: - name: Set domain # Set test instance domain based on branch name slug run: | - echo "::set-env name=domain::${{ env.GITHUB_HEAD_REF_SLUG }}.dashboard.saleor.rocks" + echo "::set-env name=domain::${{ env.GITHUB_HEAD_REF_SLUG_URL }}.dashboard.saleor.rocks" - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1