Skip to content

Commit e355074

Browse files
committed
fix: hotfix on preview.yml
1 parent 00c6fb7 commit e355074

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/preview.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
pull_request:
55
types:
66
- opened
7-
push:
8-
branches:
9-
- '*'
7+
- synchronize
8+
- reopened
9+
- edited
1010

1111
jobs:
1212
build:
@@ -41,11 +41,9 @@ jobs:
4141
4242
# Extract the URLs from the JSON output using jq
4343
DEPLOY_URL=$(echo "$DEPLOY_OUTPUT" | jq -r '.deploy_url')
44-
LOGS_URL=$(echo "$DEPLOY_OUTPUT" | jq -r '.logs')
4544
4645
# Set outputs for later use
47-
echo "::set-output name=deploy_url::${DEPLOY_URL}"
48-
echo "::set-output name=logs_url::${LOGS_URL}"
46+
echo "{deploy_url}=${DEPLOY_URL}" >> $GITHUB_OUTPUT
4947
env:
5048
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
5149
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_PREVIEW_SITE_ID }}

0 commit comments

Comments
 (0)