Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Commit 79a8837

Browse files
try manual release
1 parent 872557a commit 79a8837

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release_publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
release:
66
types: [published]
77
branches: [main]
8+
workflow_dispatch:
89

910
jobs:
1011
deploy:
@@ -15,8 +16,8 @@ jobs:
1516
contents: read
1617
# secrets are not usable from outside ConsenSys org
1718
# The workflow will then be disabled for non ConsenSys repositories to prevent useless failure.
18-
# Restricting to refs/heads/main here to prevent workflow_dispatch to run on another branch
19-
if: github.event.repository.fork == false && github.repository_owner == 'ConsenSys'
19+
# Restricting to refs/tags/* here to prevent workflow_dispatch to run on another branch
20+
if: github.event.repository.fork == false && github.repository_owner == 'ConsenSys' && startsWith(github.ref, 'refs/tags/')
2021
steps:
2122
- name: checkout code from repos
2223
uses: actions/checkout@v2

0 commit comments

Comments
 (0)