Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

swapping airtable form (#54) #22

swapping airtable form (#54)

swapping airtable form (#54) #22

Workflow file for this run

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