| 123456789101112131415161718192021222324252627282930 | #!/usr/bin/env sh# Replace packaging pathsed -i "s#VITE_PUBLIC_PATH = /#VITE_PUBLIC_PATH = /vue-pure-admin/#g" $(pwd)/.env.production# Make sure the script throws the error encounteredset -epnpm buildcd disttouch README.md .nojekyll # deploy to githubif [ -z "$GITHUB_TOKEN" ]; then  msg='deploy'  githubUrl=git@github.com:xiaoxian521/vue-pure-admin.gitelse  msg='ci: Automatic deployment from github actions'  githubUrl=https://xiaoxian521:${GITHUB_TOKEN}@github.com/xiaoxian521/vue-pure-admin.git  git config --global user.name "xiaoxian521"  git config --global user.email "1923740402@qq.com"figit initgit add -Agit commit -m "${msg}"# Push to github gh-pages branchgit push -f $githubUrl master:gh-pagescd -rm -rf dist
 |