chore: test pages action print out some info
This commit is contained in:
parent
9f86c3795d
commit
ac26d10e1f
9
.github/workflows/publish.yaml
vendored
9
.github/workflows/publish.yaml
vendored
|
|
@ -12,13 +12,13 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- 'apps/www/**'
|
- 'apps/www/**'
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
types:
|
types:
|
||||||
# When a created pull request from forked repo, it will be comment 'Should deploy to add label'
|
# When a created pull request from forked repo, it will be comment 'Should deploy to add label'
|
||||||
- opened
|
- opened
|
||||||
# When a labeled '🚀request-deploy' pull request from forked repo, it will be deploy to Cloudflare Pages
|
# When a labeled '🚀request-deploy' pull request from forked repo, it will be deploy to Cloudflare Pages
|
||||||
- labeled
|
- labeled
|
||||||
paths:
|
|
||||||
- 'apps/www/**'
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
# eslint-disable-next-line yml/no-empty-mapping-value
|
# eslint-disable-next-line yml/no-empty-mapping-value
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
@ -56,6 +56,11 @@ jobs:
|
||||||
ref: ${{ github.event.pull_request.head.ref || github.ref }}
|
ref: ${{ github.event.pull_request.head.ref || github.ref }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Print pull request head information
|
||||||
|
run: |
|
||||||
|
echo "Pull Request SHA: ${{ github.event.pull_request.head.sha }}"
|
||||||
|
echo "Pull Request Ref: ${{ github.event.pull_request.head.ref }}"
|
||||||
|
|
||||||
# Run a build step here
|
# Run a build step here
|
||||||
- name: Setup Node.js environment
|
- name: Setup Node.js environment
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user