Skip to content

Update typescript-eslint monorepo to v6 (#1136) #306

Update typescript-eslint monorepo to v6 (#1136)

Update typescript-eslint monorepo to v6 (#1136) #306

name: Deploy to Staging
on:
push:
branches: [main]
permissions:
id-token: write
contents: read # This is required for actions/checkout
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
uses: ./.github/actions/build
with:
environment: staging
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: staging
url: https://talk.bravesoftware.com
steps:
- uses: actions/checkout@v3
- name: Configure aws credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
role-session-name: github-actions-talk-brave-com-${{ github.run_id }}
aws-region: ${{ vars.AWS_REGION }}
- name: Deploy
uses: ./.github/actions/deploy
env:
AWS_REGION: ${{ vars.AWS_REGION }}
with:
cloudfront-distribution-id: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}
s3-bucket: ${{ secrets.S3_BUCKET }}