fix wordful line break important bug #6
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 using vitepress | |
on: | |
push: {branches: [main]} | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: pages | |
cancel-in-progress: false | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- uses: actions/configure-pages@v4 | |
- run: npm install | |
- run: npm run doc.build | |
- uses: actions/upload-pages-artifact@v3 | |
with: {path: docs/.vitepress/dist} | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
needs: build | |
runs-on: ubuntu-latest | |
name: deploy | |
steps: | |
- name: deploy to github pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |