Merge pull request #705 from kernel-community/r2d #332
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: | |
| - production | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Use Node.js 14.x | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 14.x | |
| - name: install yarn | |
| run: npm install -g yarn | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v2 | |
| with: | |
| persist-credentials: false | |
| - name: Install and Build 🔧 | |
| run: | | |
| yarn | |
| yarn build | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@releases/v3 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BRANCH: gh-pages | |
| FOLDER: public |