Use url-safe test env branch slug
This commit is contained in:
parent
fdb8d1e272
commit
7d450d133a
2 changed files with 4 additions and 4 deletions
4
.github/workflows/test-env-cleanup.yml
vendored
4
.github/workflows/test-env-cleanup.yml
vendored
|
@ -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 }}
|
||||
|
|
4
.github/workflows/test-env-deploy.yml
vendored
4
.github/workflows/test-env-deploy.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue