summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2021-06-10 14:13:58 +0100
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2021-06-10 14:13:58 +0100
commit3893b5ddd5d87cceabfd0f0b363f82bad0d11b31 (patch)
treea04dfab667b8e53d9b3b14da9b90a16765253c51
parentfa7693528fd5fdafa81ffd17841353109d24a63f (diff)
Change publish workflow
-rw-r--r--.github/workflows/publish.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index ffc22cbd..03f6e044 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -1,9 +1,11 @@
name: Publish plugin to repository
on:
- release:
- types: [created]
+ push:
+ tags:
+ - '*'
jobs:
publish:
+ if: github.event.base_ref == 'refs/heads/master'
runs-on: ubuntu-18.04
permissions:
contents: read