Merge pull request #105 from ulises-jeremias/dependabot/npm_and_yarn/… #74
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 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 |