Skip to content

Commit c628d25

Browse files
authored
refactor: logging several variables
1 parent ad0f32d commit c628d25

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/02-deploy-gh-pages.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ jobs:
2121
with:
2222
name: build
2323
path: out
24+
25+
- name: GitHub Actor
26+
run: echo "The github actor is $GITHUB_ACTOR"
27+
28+
- name: Logging information
29+
uses: actions/github-script@v6
30+
with:
31+
script: |
32+
console.log('github.actor', github.actor);
33+
console.log('github.event.pull_request_target', github.event?.pull_request_target);
34+
console.log('github.event.pull_request.head.repo.owner.login', github.event?.pull_request.head.repo.owner.login);
2435
2536
- name: ➕ Bundle current gh-pages
2637
uses: ./.github/actions/bundle-gh-page

0 commit comments

Comments
 (0)