Skip to content

Merge pull request #26 from TUK-MoreView/feat/shape-creation #34

Merge pull request #26 from TUK-MoreView/feat/shape-creation

Merge pull request #26 from TUK-MoreView/feat/shape-creation #34

Workflow file for this run

name: Frontend Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy to S3
run: |
aws s3 sync ./build s3://more-view
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_EC2_METADATA_DISABLED: true