Skip to content

Merge pull request #272 from Propy/feat/oct-language-adjustments #204

Merge pull request #272 from Propy/feat/oct-language-adjustments

Merge pull request #272 from Propy/feat/oct-language-adjustments #204

Workflow file for this run

name: (DEV) S3 Deploy and CF Invalidation
on:
push:
branches:
- dev
jobs:
run:
if: github.ref == 'refs/heads/dev'
runs-on: ubuntu-latest
environment: dev
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
REACT_APP_QUICKNODE_RPC_URL_MAINNET: ${{ secrets.REACT_APP_QUICKNODE_RPC_URL_MAINNET }}
REACT_APP_QUICKNODE_RPC_URL_ARBITRUM: ${{ secrets.REACT_APP_QUICKNODE_RPC_URL_ARBITRUM }}
REACT_APP_QUICKNODE_RPC_URL_BASE: ${{ secrets.REACT_APP_QUICKNODE_RPC_URL_BASE }}
REACT_APP_QUICKNODE_RPC_URL_BASE_SEPOLIA: ${{ secrets.REACT_APP_QUICKNODE_RPC_URL_BASE_SEPOLIA }}
REACT_APP_QUICKNODE_RPC_URL_SEPOLIA: ${{ secrets.REACT_APP_QUICKNODE_RPC_URL_SEPOLIA }}
REACT_APP_RECAPTCHA_KEY: ${{ secrets.REACT_APP_RECAPTCHA_KEY }}
REACT_APP_ENV: ${{ vars.REACT_APP_ENV }}
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: yarn
- name: Build
run: yarn build
- name: Deploy
uses: Propy/s3-deploy@v3
with:
folder: build
bucket: ${{ secrets.S3_BUCKET }}
bucket-region: ${{ secrets.S3_BUCKET_REGION }}
dist-id: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}
invalidation: "/*"
delete-removed: true
no-cache: true
private: true
filesToInclude: ".*/*,*/*,**"