Skip to content

v1.0.30

v1.0.30 #105

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: |
git config user.name "Rex Zeng"
git config user.email "[email protected]"
git checkout -b gh-pages
npm install -g pnpm
pnpm i
pnpm build:pages
echo "json-diff-kit.js.org" > docs/CNAME
git add docs -f
git commit -m Pages
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
git push -f origin gh-pages
env:
GITHUB_TOKEN: ${{ secrets.github_token }}