We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00c6fb7 commit e355074Copy full SHA for e355074
.github/workflows/preview.yml
@@ -4,9 +4,9 @@ on:
4
pull_request:
5
types:
6
- opened
7
- push:
8
- branches:
9
- - '*'
+ - synchronize
+ - reopened
+ - edited
10
11
jobs:
12
build:
@@ -41,11 +41,9 @@ jobs:
41
42
# Extract the URLs from the JSON output using jq
43
DEPLOY_URL=$(echo "$DEPLOY_OUTPUT" | jq -r '.deploy_url')
44
- LOGS_URL=$(echo "$DEPLOY_OUTPUT" | jq -r '.logs')
45
46
# Set outputs for later use
47
- echo "::set-output name=deploy_url::${DEPLOY_URL}"
48
- echo "::set-output name=logs_url::${LOGS_URL}"
+ echo "{deploy_url}=${DEPLOY_URL}" >> $GITHUB_OUTPUT
49
env:
50
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
51
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_PREVIEW_SITE_ID }}
0 commit comments