Merge pull request #682 from mirumee/fix/test-build/allow-dashes

Updated test dashboard deployment to allow dashes
This commit is contained in:
NyanKiyoshi 2020-08-29 11:57:12 +02:00 committed by GitHub
commit b1791b6277
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ jobs:
env:
pull_request_body: ${{ github.event.pull_request.body }}
prefix: API_URI=
pattern: (http|https)://[a-zA-Z0-9.]+/graphql/?
pattern: (http|https)://[a-zA-Z0-9.-]+/graphql/?
run: |
echo "::set-output name=custom_api_uri::$(echo $pull_request_body | grep -Eo "$prefix$pattern" | sed s/$prefix// | head -n 1)"