Skip to content

feat: add test workflow #1

feat: add test workflow

feat: add test workflow #1

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
name: 'Deploy Preview'
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