This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
adding maxw to partner images #21
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 And Deploy | |
on: | |
push: | |
branches: ["main"] | |
env: | |
DAY_OF_WEEK: Monday | |
APP_KEYS: value_1,value_2,value_3 | |
API_TOKEN_SALT: API_TOKEN_SALT_VALUE | |
ADMIN_JWT_SECRET: ADMIN_JWT_SECRET_VALUE | |
JWT_SECRET: __SKIP_FOR_LOCAL_ENVIRONMENT--GENERATED__ | |
jobs: | |
build: | |
name: Build And Deploy | |
timeout-minutes: 25 | |
runs-on: ubuntu-latest | |
# To use Remote Caching, uncomment the next lines and follow the steps below. | |
# env: | |
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn | |
- name: Build | |
run: yarn build | |
- name: Deploy | |
env: | |
CMS_DEPLOY_KEY: ${{ secrets.CMS_DEPLOY_KEY }} | |
VERCEL_WEBHOOK_URL: ${{ secrets.VERCEL_WEBHOOK_URL }} | |
run: yarn deploy |