Merge pull request #255 from graphprotocol/juanmardefago/chain-aliasing #51
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 to GH Pages | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: latest | |
cache: "npm" | |
cache-dependency-path: packages/json-encoder-web/package-lock.json | |
- run: npm install | |
working-directory: packages/json-encoder-web | |
- run: npm run build | |
working-directory: packages/json-encoder-web | |
- name: Deploy to GH Pages 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: packages/json-encoder-web/dist |