Skip to content

Commit

Permalink
fix: update action yaml formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcadoo committed Jan 30, 2024
1 parent df9c587 commit 4dadfa7
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/trigger-netlify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ on:
jobs:
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
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

0 comments on commit 4dadfa7

Please sign in to comment.