Skip to content

Commit

Permalink
chore: update github action trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
lChen-dev committed Nov 6, 2021
1 parent 4f0ca73 commit e07b611
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/preview-theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e07b611

Please sign in to comment.