Merge pull request #118 from gnidan/release #39
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 Web UI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Node.js v16.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Install and build | |
run: | | |
yarn | |
cd packages/abi-to-sol | |
yarn prepare | |
cd ../web-ui | |
PUBLIC_URL=https://gnidan.github.io/abi-to-sol/ yarn build | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: packages/web-ui/build | |