Skip to content

Use HashRouter instead of BrowserRouter (#14) #12

Use HashRouter instead of BrowserRouter (#14)

Use HashRouter instead of BrowserRouter (#14) #12

Workflow file for this run

name: build app
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
name: Build and Push
steps:
- name: git-checkout
uses: actions/checkout@v3
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- name: Build
run: pnpm build
- name: Touch .nojeykll
run: touch ./dist/.nojekyll
- name: Touch CNAME
run: echo "recovery.sequence.app" > ./dist/CNAME
- name: Push
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: dist
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: 'Build: ({sha}) {msg}'