fix: link (#280) #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Space ID App S3 Deploy - Production | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.FE_DEPLOYER_AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.FE_DEPLOYER_AWS_SECRET_ACCESS_KEY }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- run: yarn install | |
- run: yarn run build | |
- name: Deploy | |
uses: reggionick/s3-deploy@v3 | |
with: | |
folder: 'build' | |
bucket: 'prd-app-space-id' | |
bucket-region: 'us-west-2' | |
dist-id: 'E2WEVVPV40MG9V' | |
invalidation: / | |
delete-removed: true | |
no-cache: false | |
private: true |