From 79a8837e25d9f4eb8a9af1a27d8d6d97682c60e7 Mon Sep 17 00:00:00 2001 From: Nicolas MASSART Date: Mon, 24 Jan 2022 12:36:29 +0100 Subject: [PATCH] try manual release --- .github/workflows/release_publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_publish.yml b/.github/workflows/release_publish.yml index e1a42c4..f3a21dc 100644 --- a/.github/workflows/release_publish.yml +++ b/.github/workflows/release_publish.yml @@ -5,6 +5,7 @@ on: release: types: [published] branches: [main] + workflow_dispatch: jobs: deploy: @@ -15,8 +16,8 @@ jobs: contents: read # secrets are not usable from outside ConsenSys org # The workflow will then be disabled for non ConsenSys repositories to prevent useless failure. - # Restricting to refs/heads/main here to prevent workflow_dispatch to run on another branch - if: github.event.repository.fork == false && github.repository_owner == 'ConsenSys' + # Restricting to refs/tags/* here to prevent workflow_dispatch to run on another branch + if: github.event.repository.fork == false && github.repository_owner == 'ConsenSys' && startsWith(github.ref, 'refs/tags/') steps: - name: checkout code from repos uses: actions/checkout@v2