This repository has been archived by the owner on May 21, 2024. It is now read-only.
v8.0.3 #161
This file contains 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 Application | |
on: | |
push: | |
branches: | |
- staging | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm install | |
- name: Build app | |
run: npm run build | |
- name: Build sentry source maps | |
run: npm run sentry:ci | |
- name: Copy Prsima files | |
run: cp -r prisma dist/ | |
- name: Copy PM2 config file | |
run: cp pm2.config.js dist/ | |
- name: Deploy to build branch | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dist | |
publish_branch: dist |