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

Mitra/DERC-2409/Add ctrader in help centre available platforms #2405

Mitra/DERC-2409/Add ctrader in help centre available platforms

Mitra/DERC-2409/Add ctrader in help centre available platforms #2405

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/