Skip to content

fix: use url hash to avoid too long url #13

fix: use url hash to avoid too long url

fix: use url hash to avoid too long url #13

Workflow file for this run

name: deploy
on: [push]
permissions:
contents: write
jobs:
test:
name: Deploy
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: "npm"
node-version: ${{ matrix.node-version }}
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist