Skip to content

fix: change baseURL #36

fix: change baseURL

fix: change baseURL #36

Workflow file for this run

name: DeployGihubPage
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: |
yarn install
yarn build
touch ./dist/.nojekyll
git config --global user.email "[email protected]"
git config --global user.name "git workflows"
git add dist/ -f
git commit -m "Deploy gh-pages"
#git subtree push --prefix dist origin gh-pages
git subtree split --prefix dist -b gh-pages
git push -f origin gh-pages:gh-pages
git branch -D gh-pages