Skip to content

initial commit

initial commit #4

Workflow file for this run

name: Build GitHub Pages
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Use Node.js 15.x
uses: actions/setup-node@v1
with:
node-version: 15.x
- run: git branch -D ghpages
continue-on-error: true
- run: git checkout -b ghpages
- run: rm .gitignore
- run: mv .gitignore.ghpages .gitignore
- run: npm ci
- run: npm run build
- run: git config user.name github-actions[bot]
- run: git config user.email github-actions[bot]@users.noreply.github.com
- run: git add -A
- run: git commit -m "build GitHub Pages"
- run: git push -f origin ghpages