From 6d89d77271890e5da789c4638dbba1916d230a9e Mon Sep 17 00:00:00 2001 From: zimrick Date: Wed, 29 Nov 2023 03:11:15 +0100 Subject: [PATCH] Updated github action --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1171f28db..4fab02f71 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,7 +5,7 @@ name: Deploy GH Pages on: push: branches: - - 'master' + - "master" env: NODE: 16 @@ -26,7 +26,7 @@ jobs: - name: Use Node.js ${{ env.NODE }} uses: actions/setup-node@v1 with: - node-version: ${{ env.NODE }} + node-version: [18.x] - name: Cache node_modules uses: actions/cache@v2 @@ -43,10 +43,10 @@ jobs: key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} - name: Install - run: yarn install + run: npm install - name: Build - run: yarn export + run: npm export env: SITE_URL: https://www.global-climatescope.org/ MAILCHIMP_ADDRESS: ${{ secrets.MAILCHIMP_ADDRESS }}