mirror of
https://github.com/kou029w/jwk.pages.dev.git
synced 2025-01-30 13:58:00 +00:00
fixed preview dns subdomain from branch ref
This commit is contained in:
parent
84705fc749
commit
35a57f336a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
|||
- if: github.ref_name != github.event.repository.default_branch
|
||||
id: set_preview_env
|
||||
shell: bash
|
||||
run: echo url="https://$(echo "${HEAD_REF}" | sed s/[^_0-9a-z]/-/gi).jwk.pages.dev/" >> "${GITHUB_OUTPUT}"
|
||||
run: echo url="https://$(echo "${HEAD_REF:0:28}" | sed s/[^_0-9a-z]/-/gi).jwk.pages.dev/" >> "${GITHUB_OUTPUT}"
|
||||
env:
|
||||
HEAD_REF: ${{ github.head_ref }}
|
||||
- name: Run tests on ${{ env.BASE_URL }}
|
||||
|
|
Loading…
Add table
Reference in a new issue