Skip to content

Update Super mode query for epic views #498

Update Super mode query for epic views

Update Super mode query for epic views #498

name: Upload component-event-stream to riff raff
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
component_event_stream_build:
if: github.repository_owner == 'guardian'
# Required by actions-riff-raff
permissions:
id-token: write
contents: read
pull-requests: write
name: Upload component-event-stream
runs-on: ubuntu-latest
steps:
- name: Env
run: env
- name: Checkout repo
uses: actions/checkout@v4
- name: Configure AWS credentials # needed by actions-riff-raff
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
aws-region: eu-west-1
- uses: guardian/actions-riff-raff@v4
with:
app: component-event-stream
buildNumberOffset: 300
roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
config: |
stacks:
- support
regions:
- eu-west-1
allowedStages:
- CODE
- PROD
deployments:
component-event-stream:
type: cloud-formation
parameters:
templateStagePaths:
CODE: cfn.yaml
PROD: cfn.yaml
contentDirectories: |
component-event-stream:
- ./component-event-stream/cfn.yaml