From 8e1fe9558e1fea8890d57c8d222f0a294e01ef22 Mon Sep 17 00:00:00 2001 From: Ajay Bura Date: Thu, 18 Nov 2021 18:19:04 +0530 Subject: [PATCH] Specified sha for build script Signed-off-by: Ajay Bura --- .github/workflows/netlify-dev.yaml | 12 ++---------- .github/workflows/netlify-prod.yaml | 12 ++---------- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/.github/workflows/netlify-dev.yaml b/.github/workflows/netlify-dev.yaml index 5cbde2f..2289eca 100644 --- a/.github/workflows/netlify-dev.yaml +++ b/.github/workflows/netlify-dev.yaml @@ -10,17 +10,9 @@ jobs: name: 'Deploy' runs-on: ubuntu-latest - strategy: - matrix: - node-version: [17x] - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - uses: jsmrcaga/action-netlify-deploy@master + - uses: actions/checkout@v1 + - uses: jsmrcaga/action-netlify-deploy@9cc40dcd499dd1511b3cc99912444f8970411cc6 with: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE2_ID }} diff --git a/.github/workflows/netlify-prod.yaml b/.github/workflows/netlify-prod.yaml index 29ecf30..b8c3c27 100644 --- a/.github/workflows/netlify-prod.yaml +++ b/.github/workflows/netlify-prod.yaml @@ -9,17 +9,9 @@ jobs: name: 'Deploy' runs-on: ubuntu-latest - strategy: - matrix: - node-version: [17x] - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - uses: jsmrcaga/action-netlify-deploy@master + - uses: actions/checkout@v1 + - uses: jsmrcaga/action-netlify-deploy@9cc40dcd499dd1511b3cc99912444f8970411cc6 with: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}