Skip to content

Merge pull request #16 from EverseDevelopment/vnoves-patch-1 #34

Merge pull request #16 from EverseDevelopment/vnoves-patch-1

Merge pull request #16 from EverseDevelopment/vnoves-patch-1 #34

Workflow file for this run

name: Build & deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache modules
uses: actions/cache@v1
id: yarn-cache
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.EVERSE_AWS_S3_BUCKET_SECRET_KEY_ID }}
aws-secret-access-key: ${{ secrets.EVERSE_AWS_S3_BUCKET_SECRET_KEY_SECRET }}
aws-region: us-east-2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Install dependencies
run: yarn install --ignore-engines
- name: Build
run: yarn build
- name: Deploy
run: aws s3 sync ./ s3://everse-snack-handgesture-ifc