Skip to content

Test #1420 on dev3 #130

Test #1420 on dev3

Test #1420 on dev3 #130

name: Deploy to Development3
on:
push:
branches: [dev3]
workflow_dispatch:
permissions:
id-token: write
contents: read # This is required for actions/checkout
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Build
uses: ./.github/actions/build
with:
environment: development3
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: development3
url: https://dev3.talk.brave.software
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Configure aws credentials
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
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 }}