Skip to content

Add example prompts in onboarding message (#168) #126

Add example prompts in onboarding message (#168)

Add example prompts in onboarding message (#168) #126

name: Upload frontend
on:
push:
branches:
- main
paths:
- "frontend/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "20"
- name: Install dependencies
working-directory: ./frontend
run: npm install
- name: Build app
working-directory: ./frontend
run: npm run build
- name: Upload to S3
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read
env:
SOURCE_DIR: ./frontend/build/
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}