From 4dadfa781c132f4be57b43f2d5ca37cb670c9e5c Mon Sep 17 00:00:00 2001 From: Clark McAdoo Date: Tue, 30 Jan 2024 12:25:18 -0600 Subject: [PATCH] fix: update action yaml formatting --- .github/workflows/trigger-netlify-build.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/trigger-netlify-build.yml b/.github/workflows/trigger-netlify-build.yml index fc279b7522..5622b8336a 100644 --- a/.github/workflows/trigger-netlify-build.yml +++ b/.github/workflows/trigger-netlify-build.yml @@ -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