rename: wrong name #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to HTML Pages | |
on: | |
push: | |
branches: | |
- vue | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.9.0 | |
- name: Install pnpm | |
run: npm install -g pnpm@9.1.4 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build project | |
run: pnpm build | |
- name: Deploy to GitHub Pages | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git add dist -f | |
git commit -m "Deploy to HTML Pages" | |
git push origin `git subtree split --prefix dist vue`:webpage --force |