Skip to content

Commit

Permalink
Updated github action
Browse files Browse the repository at this point in the history
  • Loading branch information
zimrick committed Nov 29, 2023
1 parent b00fbfe commit 6d89d77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Deploy GH Pages
on:
push:
branches:
- 'master'
- "master"

env:
NODE: 16
Expand All @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 6d89d77

Please sign in to comment.