mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
printing github object caused the run to fail 🧐
This commit is contained in:
committed by
dan13ram
parent
4d7e5bfd1c
commit
8d15afe3aa
7
.github/workflows/gcp-deploy.yaml
vendored
7
.github/workflows/gcp-deploy.yaml
vendored
@@ -42,7 +42,8 @@ jobs:
|
||||
of ${{github.event.pull_request.head.label}} \
|
||||
by ${{github.event.pull_request.user.login}}"
|
||||
# ref: ${{github.event.pull_request.head.sha}}
|
||||
ref: refs/heads/${{github.event.pull_request.head.ref}}
|
||||
# ref: refs/heads/${{github.event.pull_request.head.ref}}
|
||||
ref: ${{github.event.after}} # SHA of the last commit
|
||||
no_override: true
|
||||
|
||||
cancel-previous:
|
||||
@@ -92,16 +93,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Trying to find the right ref…
|
||||
env:
|
||||
github_object: ${{toJson(github)}}
|
||||
run: |
|
||||
echo "github.head_ref: ${{github.head_ref}}"
|
||||
echo "github.event.pull_request.head.sha: ${{github.event.pull_request.head.sha}}"
|
||||
echo "github.event.pull_request.head.ref: ${{github.event.pull_request.head.ref}}"
|
||||
echo "env.GITHUB_SHA: ${{env.GITHUB_SHA}}"
|
||||
echo "env.GITHUB_REF: ${{env.GITHUB_REF}}"
|
||||
echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"
|
||||
echo "${{env.github_object}}"
|
||||
|
||||
- name: First Intepolation of Variables
|
||||
id: first
|
||||
|
||||
Reference in New Issue
Block a user