Skip to content

Merge pull request #1041 from newrelic/clark/netlify-deploy-preview-test #7

Merge pull request #1041 from newrelic/clark/netlify-deploy-preview-test

Merge pull request #1041 from newrelic/clark/netlify-deploy-preview-test #7

name: Trigger Netlify Build
on:
issue_comment:
types: [created]
jobs:
deploy-preview:

Check failure on line 8 in .github/workflows/trigger-netlify-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/trigger-netlify-build.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
runs-on: ubuntu-latest
steps:
if: contains(github.event.comment.body, 'netlify build')
- name: deploy to preview mode
uses: thundermiracle/netlify-deploy@v3
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN}}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID}}
deploy-dir: "./public"
extra-cache-path: |
.cache
public