Skip to content

Commit

Permalink
final action configured
Browse files Browse the repository at this point in the history
  • Loading branch information
JKarlavige committed Nov 1, 2023
1 parent e79f516 commit a7d3b2d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/crawler.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
name: Algolia Crawler
on:
# Uncomment push to current branch trigger
# if running on each merge to current
push:
branches: [ automate-crawler ]
pull_request:
types:
# - closed
- closed

jobs:
algolia_recrawl:
# Comment out this if check if running on every merge to current branch
#if: ${{ contains(github.event.pull_request.labels.*.name, 'trigger-crawl') && github.event.pull_request.merged == false }}
# Comment out the if check below if running on every merge to current branch
if: ${{ contains(github.event.pull_request.labels.*.name, 'trigger-crawl') && github.event.pull_request.merged == false }}
name: Trigger Algolia Crawl
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit a7d3b2d

Please sign in to comment.