Skip to content

Commit

Permalink
fix: hotfix on preview.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TharinduX committed Oct 2, 2023
1 parent 00c6fb7 commit e355074
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
pull_request:
types:
- opened
push:
branches:
- '*'
- synchronize
- reopened
- edited

jobs:
build:
Expand Down Expand Up @@ -41,11 +41,9 @@ jobs:
# Extract the URLs from the JSON output using jq
DEPLOY_URL=$(echo "$DEPLOY_OUTPUT" | jq -r '.deploy_url')
LOGS_URL=$(echo "$DEPLOY_OUTPUT" | jq -r '.logs')
# Set outputs for later use
echo "::set-output name=deploy_url::${DEPLOY_URL}"
echo "::set-output name=logs_url::${LOGS_URL}"
echo "{deploy_url}=${DEPLOY_URL}" >> $GITHUB_OUTPUT
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_PREVIEW_SITE_ID }}
Expand Down

0 comments on commit e355074

Please sign in to comment.