From c345477a45f8bc98f2b37e1080581412d60d324d Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 25 Jun 2021 13:12:39 -0700 Subject: [PATCH] Meta: add debug info (see #2260) This is pushed directly to the default branch, because workflow_run scripts are ran from the default branch --- .github/workflows/preview.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 0bb3aa2be68..9dd4f85fbd0 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -44,6 +44,11 @@ jobs: const fs = require('fs'); fs.writeFileSync('${{ github.workspace }}/out.zip', Buffer.from(download.data)); - run: unzip -o out.zip -d out + - name: 'debug info' + uses: actions/github-script@v3.1.0 + with: + script: | + console.log(${{ toJson(github.event) }}); - run: node scripts/publish-preview env: CI_PREVIEW_TOKEN: ${{ secrets.CI_PREVIEW_TOKEN }}