Skip to content

Update readme

Update readme #21

Workflow file for this run

name: gh-pages
on:
push:
branches:
- master
jobs:
deploy:
strategy:
matrix:
os: [ubuntu-latest]
node: [16]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 6.x.x
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.CSSTRON_TOKEN }}
known_hosts: "unknown"
- name: Adding Known Hosts
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
- run: pnpm install
- run: pnpm run build
- name: Deploy to github pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist