Skip to content

staging deploy

staging deploy #57

Workflow file for this run

name: Deploy to s3 - staging
on:
push:
branches:
- staging
jobs:
build:
name: Build files
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '14.x'
- uses: actions/checkout@master
- name: Build project files
run: |
npm install
npm run build
- name: Deploy to s3
env:
AWS_DEFAULT_REGION: us-east-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run:
aws s3 cp dist s3://contracts-hub-staging --recursive