Skip to content

๐Ÿ› Fix router history mode to use createWebHashHistory #7

๐Ÿ› Fix router history mode to use createWebHashHistory

๐Ÿ› Fix router history mode to use createWebHashHistory #7

Workflow file for this run

name: auto deploy ๐Ÿš€
on:
push:
branches:
- master
pull_request:
permissions:
contents: write
pages: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: '20.x'
# ๅฎ‰่ฃ… pnpm
- name: Install pnpm
run: npm install pnpm -g
# ๅฎ‰่ฃ…ไพ่ต–
- name: Install dependencies
run: pnpm i
# ๆ‰“ๅŒ…
- name: Build application ๐Ÿ”ง
run: pnpm run build
# ้ƒจ็ฝฒ https://github.com/JamesIves/github-pages-deploy-action
- name: Deploy ๐Ÿš€
uses: JamesIves/github-pages-deploy-action@v4
if: github.ref == 'refs/heads/master'
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: dist
clean: true