Merge pull request #6 from vgrichina/patch-1 #4
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: Deploy using web4 | |
concurrency: production | |
on: | |
push: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: 'yarn' | |
- run: yarn | |
- name: Build | |
run: NODE_OPTIONS=--openssl-legacy-provider yarn build | |
- name: Deploy using web4 | |
run: npx web4-deploy build/ thewiki.near --yes |