Skip to content

Commit a40d315

Browse files
authored
Merge pull request #64 from bleggett/bleggett/skip-publish-on-nonmain
Don't try to generate cultivator token on PR runs
2 parents 8e7ec80 + 24931b2 commit a40d315

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
target/assets/*
9494
9595
- name: generate cultivator token
96+
if: ${{ github.event_name == 'release' }}
9697
uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
9798
id: generate-token
9899
with:

0 commit comments

Comments
 (0)