Landing Page: Remove feast benefit offer component, add pill #6899
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: Build supporter-product-data | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
supporter_product_data_build: | |
if: >- | |
(github.actor != 'dependabot[bot]') && | |
(github.repository_owner == 'guardian' || | |
github.event_name == 'push') | |
# Required by actions-assume-aws-role | |
permissions: | |
id-token: write | |
contents: read | |
name: supporter-product-data build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Env | |
run: env | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
# Required by sbt riffRaffUpload | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | |
aws-region: eu-west-1 | |
- uses: sbt/setup-sbt@v1 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "21" | |
distribution: "corretto" | |
cache: sbt | |
- name: Build and upload supporter-product-data to RiffRaff | |
run: | | |
export LAST_TEAMCITY_BUILD=6000 | |
export GITHUB_RUN_NUMBER=$(( $GITHUB_RUN_NUMBER + $LAST_TEAMCITY_BUILD )) | |
sbt "project supporter-product-data" riffRaffUpload | |