Hotfixed import path #291
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
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [prod] | |
| jobs: | |
| build: | |
| runs-on: self-hosted | |
| strategy: | |
| matrix: | |
| node-version: [18.x] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| clean: "false" | |
| path: "prod" | |
| - name: Building and deploying app to production... | |
| shell: "bash -ieo pipefail {0}" | |
| run: | | |
| cd prod | |
| yarn install | |
| yarn run build | |
| pm2 reload prod-service |