Skip to content

feat: show connect wallet modal before navigating to wallet page #123

feat: show connect wallet modal before navigating to wallet page

feat: show connect wallet modal before navigating to wallet page #123

Workflow file for this run

name: deploy
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
deploy:
name: Build, Deploy to S3 bucket
runs-on: [ ubuntu-latest ]
strategy:
matrix:
node-version: [ 18.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install yarn
run: npm install --location=global yarn
- name: Package install
run: yarn
- name: Build
run: CI=false yarn build
- name: Transfer to S3 for serving static
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ secrets.S3_BUCKET_NAME }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_IAM_MANAGER_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_IAM_MANAGER_SECRET_ACCESS_KEY }}
AWS_REGION: ap-northeast-2
SOURCE_DIR: 'dist'
- name: Invalidate Cloudfront Distribution
uses: awact/cloudfront-action@master
env:
SOURCE_PATH: '/*'
AWS_REGION: ap-northeast-2
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_IAM_MANAGER_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_IAM_MANAGER_SECRET_ACCESS_KEY }}
DISTRIBUTION_ID: ${{ secrets.DISTRIBUTION_ID_APP }}