Merge pull request #38 from curehht/dependabot/npm_and_yarn/minimist-… #5
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 | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Node Setup | |
uses: actions/setup-node@v1 | |
- name: Install dependencies | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Static HTML Export | |
run: npm run export | |
- name: Disable Jekyl # https://github.blog/2009-12-29-bypassing-jekyll-on-github-pages/ | |
run: touch ./out/.nojekyll | |
- name: Enable custom domain | |
run: cp CNAME ./out | |
- name: Delpoy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: out |