fix: interests regexp error #19
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: CI-CD | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: setup nodejs | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 14.19.1 | |
| - name: setup yarn | |
| run: npm install -g yarn | |
| - name: install deps | |
| run: yarn install | |
| - name: build app | |
| run: yarn build | |
| - name: deploy app | |
| run: | | |
| git remote set-url origin https://git:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git | |
| yarn deploy -- -u "github-actions-bot <support+actions@github.com>" |