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:
|
||||
- 'apps/www/**'
|
||||
pull_request_target:
|
||||
branches:
|
||||
- dev
|
||||
types:
|
||||
# When a created pull request from forked repo, it will be comment 'Should deploy to add label'
|
||||
- opened
|
||||
# When a labeled '🚀request-deploy' pull request from forked repo, it will be deploy to Cloudflare Pages
|
||||
- labeled
|
||||
paths:
|
||||
- 'apps/www/**'
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
# eslint-disable-next-line yml/no-empty-mapping-value
|
||||
workflow_dispatch:
|
||||
|
|
@ -56,6 +56,11 @@ jobs:
|
|||
ref: ${{ github.event.pull_request.head.ref || github.ref }}
|
||||
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
|
||||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v2
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user