Skip to content

Merge branch 'main' of github.com:simulai-official/simulai #290

Merge branch 'main' of github.com:simulai-official/simulai

Merge branch 'main' of github.com:simulai-official/simulai #290

Workflow file for this run

name: Deploy
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: 16
- run: npm i
- run: npm run build
# - uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: ${{ secrets.AWS_REGION }}
# - run: aws s3 sync ./dist s3://${{ secrets.AWS_S3_BUCKET }}
# - name: Invalidate Cloudfront
# uses: chetan/[email protected]
# env:
# DISTRIBUTION: ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION }}
# PATHS: '/*'
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# AWS_REGION: ${{ secrets.AWS_REGION }}