QVMC Spec Implementation Changes adn visual fixes #147
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 and Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: {} | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| environment: github-pages | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v3 | |
| - name: Setup Node ✨ | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20.x | |
| - name: Install Dependencies 🔧 | |
| run: | |
| yarn install | |
| - name: Build 🔧 | |
| run: | |
| yarn run build | |
| - name: Post Build Actions 🛠️ | |
| run: | |
| yarn run github-post-build | |
| env: | |
| NODE_ENV: production | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@releases/v4 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BRANCH: pages | |
| FOLDER: dist | |
| CLEAN: true |