Update preview-docs.yml to enable debug
This commit is contained in:
parent
510caa576b
commit
c6d6e0e71b
|
@ -28,7 +28,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
|
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
output=$(fern generate --docs --preview)
|
output=$(fern generate --docs --preview --log-level debug)
|
||||||
echo "$output"
|
echo "$output"
|
||||||
# Extract the URL
|
# Extract the URL
|
||||||
preview_url=$(echo "$output" | grep -oP '(?<=Published docs to )https://[^\s]*')
|
preview_url=$(echo "$output" | grep -oP '(?<=Published docs to )https://[^\s]*')
|
||||||
|
|
Loading…
Reference in New Issue