Skip to content

Merge pull request #125 from lifeomic/dependabot/npm_and_yarn/nanoid-… #102

Merge pull request #125 from lifeomic/dependabot/npm_and_yarn/nanoid-…

Merge pull request #125 from lifeomic/dependabot/npm_and_yarn/nanoid-… #102

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Exit if not on master branch
if: endsWith(github.ref, 'master') == false
run: exit 0
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org
- name: Build
run: |
yarn
yarn build:gh-pages
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.6.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: out # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch