Skip to content

Commit

Permalink
fix: pr info order
Browse files Browse the repository at this point in the history
  • Loading branch information
balakrishna-deriv committed Feb 1, 2024
1 parent 690212f commit 667f44a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/generate-preview-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,17 @@ jobs:

run: npm run build

- name: Retrieve PR information
env:
EVENT_NUMBER: ${{ github.event.number }}
EVENT_USERNAME: ${{ github.event.pull_request.user.login }}
HEAD_REF: ${{ github.head_ref }}
run: |
mkdir -p ./pr
echo "$EVENT_NUMBER" > ./pr/NR
echo "$EVENT_USERNAME" > ./pr/USERNAME
echo "$HEAD_REF" > ./pr/BRANCHNAME
- name: Publish to Cloudflare Pages
id: publish-to-pages
env:
Expand Down Expand Up @@ -173,17 +184,6 @@ jobs:
message: ${{steps.generate_preview_url.outputs.comment || steps.generate_failure_comment.outputs.comment }}
recreate: true

- name: Retrieve PR information
env:
EVENT_NUMBER: ${{ github.event.number }}
EVENT_USERNAME: ${{ github.event.pull_request.user.login }}
HEAD_REF: ${{ github.head_ref }}
run: |
mkdir -p ./pr
echo "$EVENT_NUMBER" > ./pr/NR
echo "$EVENT_USERNAME" > ./pr/USERNAME
echo "$HEAD_REF" > ./pr/BRANCHNAME
- name: Upload PR information to artifact
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 667f44a

Please sign in to comment.