Add .NET 10 Vue Identity Auth Tailwind Templates section #11
This file contains hidden or 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: Build Server | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Setup node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 14 | |
| - name: Clear dist folder | |
| run: | | |
| rm -rf docs/.vitepress/dist/ | |
| - name: Install and build | |
| run: | | |
| npm install | |
| npm run docs:build | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs/.vitepress/dist | |
| user_name: 'GitHub Action' | |
| user_email: 'action@github.com' |