Skip to content

Commit

Permalink
chore: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-deriv committed Sep 18, 2024
1 parent 5836f68 commit cc745f5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/generate-bundle-url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
- name: Generate CDN URL
id: generate-url
run: |
node scripts/generate-bundle-url.js > url.txt
cat url.txt
# Generate the URL and capture it as an output
URL=$(node scripts/generate-bundle-url.js)
echo "URL=$URL" >> $GITHUB_ENV
- name: Create or update PR comment with CDN URL
uses: peter-evans/create-or-update-comment@v3
Expand All @@ -36,8 +37,6 @@ jobs:
body: |
### Test Bundle URL:
[Preview script bundle](${ { steps.generate-url.outputs.url }})
[Preview script bundle](${ { env.URL }})
${ { github.event.pull_request.body }}
env:
GITHUB_EVENT_PULL_REQUEST_BODY: ${{ github.event.pull_request.body }}

0 comments on commit cc745f5

Please sign in to comment.