This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
update: script doc (#999) #898
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 CI | |
on: [push] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- run: yarn | |
- name: Build and Deploy | |
uses: JamesIves/github-pages-deploy-action@master | |
env: | |
CI: true | |
PROGRESS: none | |
GIT_CONFIG_NAME: eyworldiwde | |
GIT_CONFIG_EMAIL: [email protected] | |
NODE_OPTIONS: --max_old_space_size=4096 | |
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: "public/" | |
BUILD_SCRIPT: yarn && npm uninstall husky && npm run build && git checkout . && git clean -df |