Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Update generate-preview-link.yml - Add DRAFT param (#7198)
Browse files Browse the repository at this point in the history
We need to store a new param to GH storage, DRAFT. So that the smoketest.yml can use it to ignore a test run.
  • Loading branch information
markodonnell-deriv authored Feb 29, 2024
1 parent 9b89b34 commit e87e9fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/generate-preview-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,13 @@ jobs:
EVENT_NUMBER: ${{ github.event.number }}
EVENT_USERNAME: ${{ github.event.pull_request.user.login }}
HEAD_REF: ${{ github.head_ref }}
DRAFT: ${{ github.event.pull_request.draft }}
run: |
mkdir -p .pr
echo "$EVENT_NUMBER" > .pr/NR
echo "$EVENT_USERNAME" > .pr/USERNAME
echo "$HEAD_REF" > .pr/BRANCHNAME
echo "$DRAFT" > .pr/DRAFT
- name: Publish to Cloudflare Pages
id: publish-to-pages
Expand Down

0 comments on commit e87e9fe

Please sign in to comment.