From 6882b25b7203fd284d2605c6fc4df3b4268247a0 Mon Sep 17 00:00:00 2001 From: Max Anderson Date: Mon, 28 Dec 2020 18:47:51 -0800 Subject: [PATCH] Pipeline fix --- .github/workflows/publish.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4e423bf..0f655d8 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -4,6 +4,7 @@ on: release: types: - published + workflow_dispatch: jobs: deploy: @@ -29,7 +30,8 @@ jobs: - name: Set version run: | echo "VERSION=$(gh release view | sed -n 2p | awk '{ print $2 }')" >> $GITHUB_ENV - echo "EGG=$(ls dist)" >> $GITHUB_ENV + env: + GITHUB_TOKEN: ${{ secrets.CLOUDMITIGATOR_GITHUB_PAT }} - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}