Skip to content

fix: widget config adjustments #2

fix: widget config adjustments

fix: widget config adjustments #2

Workflow file for this run

name: Deploy Widget to S3
on:
push:
branches:
- main
jobs:
build:
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::403372804574:role/github-actions
role-session-name: github-actions-role-session
aws-region: us-east-2
- name: Amazon ECR login
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
- name: Install dependencies
uses: ./.github/actions/pnpm-install
- name: Build application
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: pnpm build
- name: Deploy app build to S3 bucket
run: |
aws s3 sync ./dist/ s3://iframe.jumper.exchange --delete