Skip to content

Merge pull request #135 from biothings/cleanup-modal-fixes #71

Merge pull request #135 from biothings/cleanup-modal-fixes

Merge pull request #135 from biothings/cleanup-modal-fixes #71

Workflow file for this run

name: Deploy BioThings Studio Webapp to S3
on:
push:
branches:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
- run: npm --prefix webapp/ install
- run: npm --prefix webapp/ run build
- uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ secrets.STUDIO_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{secrets.AWS_REGION}}
SOURCE_DIR: './webapp/dist'
DEST_DIR: 'master'