Skip to content

Merge pull request #108 from ulises-jeremias/dependabot/npm_and_yarn/… #78

Merge pull request #108 from ulises-jeremias/dependabot/npm_and_yarn/…

Merge pull request #108 from ulises-jeremias/dependabot/npm_and_yarn/… #78

Workflow file for this run

name: Deploy demo
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install dependencies without generating a lockfile and fail if an update is needed
run: |
cd recoil-devtools-demo
yarn --frozen-lockfile
- name: Build page
run: |
cd recoil-devtools-demo
yarn build
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./recoil-devtools-demo/build
env:
PUBLIC_URL: /recoil-devtools