Skip to content

refact: optimize and sort imports (#448) #63

refact: optimize and sort imports (#448)

refact: optimize and sort imports (#448) #63

name: Publish website
on:
push:
branches:
- master
jobs:
publish-website:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Install dependencies
run: make setup
- name: Build website
run: |
yarn run site
mv bundle* website
- name: Publish website
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: website
CLEAN: true