mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Moved GitHub context logging to job
- this stops the entire context from being output in the env vars, so it cleans up the output at the top of each job
This commit is contained in:
parent
18afd39193
commit
566f2055d0
1 changed files with 5 additions and 1 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -12,7 +12,6 @@ on:
|
|||
env:
|
||||
FORCE_COLOR: 1
|
||||
HEAD_COMMIT: ${{ github.sha }}
|
||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||
CACHED_DEPENDENCY_PATHS: |
|
||||
${{ github.workspace }}/node_modules
|
||||
${{ github.workspace }}/apps/*/node_modules
|
||||
|
@ -43,6 +42,11 @@ jobs:
|
|||
ref: ${{ env.HEAD_COMMIT }}
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Output GitHub context
|
||||
run: echo "$GITHUB_CONTEXT"
|
||||
env:
|
||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||
|
||||
- name: Get metadata (push)
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue