From 61d4343188e1c29dd0aeeefc11a432b5807aaaa9 Mon Sep 17 00:00:00 2001 From: Piotr Wojcik Date: Tue, 7 Jun 2022 11:38:28 +0200 Subject: [PATCH] debug: debugging assets object structure part 5 --- .github/workflows/promote-to-prod.yml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/promote-to-prod.yml b/.github/workflows/promote-to-prod.yml index d4e3a19..20bea55 100644 --- a/.github/workflows/promote-to-prod.yml +++ b/.github/workflows/promote-to-prod.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v2 - name: Dump github context - run: echo "${{ toJson(github.event.release) }}" + run: echo "${{ toJson(github.event.release.assets[0].name) }}" shell: bash - name: release @@ -22,7 +22,7 @@ jobs: with: repo: ${{ github.repository }} version: ${{ github.event.release.id }} - file: ${{ toJson(github).event.release.assets[0].name }} + file: ${{ toJson(github.event.release.assets[0].name) }} token: ${{ secrets.GITHUB_TOKEN }} - name: deploy diff --git a/package.json b/package.json index daf2eda..7578fc8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "deploy-with-release-draft-poc", - "version": "0.0.10", + "version": "0.0.11", "private": true, "scripts": { "build": "tsc",