fix: Update IntegrationWidgetConfig #16
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: Production Deployment | |
env: | |
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
Deploy-Production: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node_modules | |
uses: actions/cache@v2 | |
with: | |
path: ./web/node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/web/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install Dependencies | |
run: npm install | |
working-directory: ./web | |
- name: Build React App | |
run: npm run build | |
working-directory: ./web | |
- name: Install Vercel CLI | |
run: npm install --global vercel@latest | |
- name: Pull Vercel Environment Information | |
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} | |
working-directory: ./web | |
- name: Deploy Project Artifacts to Vercel | |
run: vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }} | |
working-directory: ./web |