Skip to content

Commit

Permalink
Merge pull request #1037 from newrelic/clark/trigger-build-by-comment-2
Browse files Browse the repository at this point in the history
fix: test workflow
  • Loading branch information
clarkmcadoo authored Jan 29, 2024
2 parents d0dd918 + 81b9fe2 commit bb1328f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/trigger-netlify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ jobs:
- name: Trigger Netlify Build
env:
NETLIFY_BUILD_HOOK: ${{ secrets.NETLIFY_BUILD_HOOK }}
if: contains(github.event.comment.body, 'netlify build')
run: |
if [[ $GITHUB_EVENT_NAME == "issue_comment" ]]; then
COMMENT_USER=$(jq -r .comment.user.login $GITHUB_EVENT_PATH)
COMMENT_BODY=$(jq -r .comment.body $GITHUB_EVENT_PATH)
if [[ $COMMENT_BODY == *"netlify build"* ]]; then
curl -X POST $NETLIFY_BUILD_HOOK
fi
curl -X POST $NETLIFY_BUILD_HOOK
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
path: "/projects/newrelic/terraform-provider-newrelic"
date: "2020-06-30"
title: "New Relic Terraform Provider"
path: '/projects/newrelic/terraform-provider-newrelic'
date: '2020-06-30'
title: 'New Relic Terraform Provider'
---

<!-- Imports must occur at the top of the file -->

import { Link } from 'gatsby';

The New Relic Terraform Provider integrates with core Terraform to streamline the provisioning and management of resources in your New Relic account.
Expand All @@ -18,3 +19,5 @@ The New Relic Terraform Provider is one of many tools provided by the [Developer
For more information on how to use the provider to configure your alerts, notifications, monitors, and many other New Relic resources, please view the [documentation](https://registry.terraform.io/providers/newrelic/newrelic/latest/docs).

Go to the project's [README](https://github.com/newrelic/terraform-provider-newrelic#readme) for setup and usage details.

THIS IS A TEST!

0 comments on commit bb1328f

Please sign in to comment.