From eff81412254f34e7cd5efee4119cdd0ac1b87920 Mon Sep 17 00:00:00 2001 From: Daniel Milner Date: Tue, 19 Nov 2019 16:58:24 -0800 Subject: [PATCH] Update main.yml Changed trigger to on release. --- .github/workflows/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1af797d..6e31e27 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,11 +1,10 @@ name: Deploy to WordPress.org on: - push: - branches: - - refs/tags/* + release: + types: [published] jobs: tag: - name: New tag + name: New release runs-on: ubuntu-latest steps: - uses: actions/checkout@master