chore: update github action trigger

This commit is contained in:
Anurag
2021-11-06 20:17:14 +05:30
parent 563dc7c898
commit 7eade85f18
+8 -5
View File
@@ -9,16 +9,19 @@ on:
- "themes/index.js"
issue_comment:
types: [edited]
branches:
- master
- theme-preview-script
- "themes/index.js"
jobs:
comment:
if: contains(github.event.comment.html_url, '/pull/')
runs-on: ubuntu-latest
steps:
- name: say hello
if: contains(github.event.comment.body, 'Automated Theme Preview')
run: |
echo say hello
build:
runs-on: ubuntu-latest
name: Install & Preview
steps:
- uses: actions/checkout@v1
- uses: bahmutov/npm-install@v1