Skip to content

UI/UX fixes

UI/UX fixes #9

Workflow file for this run

name: deploy
env:
VERSION: v1
on:
push:
branches:
- 'master'
paths:
- 'src/**'
- 'public/**'
- 'package.json'
# temp trigger
- '.github/workflows/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node 18
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install Yarn
run: npm install -g yarn
- name: Install dependencies
run: yarn
- name: Build
run: yarn build
- name: Upload files to S3
uses: jakejarvis/s3-sync-action@master
with:
args: --delete
env:
AWS_S3_BUCKET: ${{ secrets.BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_KEY_SECRET }}
AWS_REGION: 'eu-central-1'
SOURCE_DIR: 'build'
DEST_DIR: ${{ env.VERSION }}