Merge pull request #51 from akai-org/wtt-update-partner-logo #77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: "14" | |
- name: Installing dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
env: | |
NEXT_PUBLIC_BASE_PATH: /build | |
- name: Export | |
run: npm run export | |
env: | |
NEXT_PUBLIC_BASE_PATH: /build | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: build |