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

mayuran/DERC-2983/Remove 'on Deriv' from 'Trading specifications for CFDs #2108

mayuran/DERC-2983/Remove 'on Deriv' from 'Trading specifications for CFDs

mayuran/DERC-2983/Remove 'on Deriv' from 'Trading specifications for CFDs #2108

name: Pre-generate preview link
permissions:
pull-requests: write
on:
pull_request:
types: [opened, synchronize]
concurrency:
group: 'cloudflare-pages-verify-${{ github.head_ref }}'
cancel-in-progress: true
jobs:
verify_pull_request:
runs-on: Ubuntu-latest
steps:
- 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
env:
RUN_ID: ${{ github.run_id }}
uses: actions/upload-artifact@v2
with:
name: 'pr-${{ env.RUN_ID }}'
path: pr/