Skip to content

[Snyk] Security upgrade ruby from 3.0 to 3.2.5 #234

[Snyk] Security upgrade ruby from 3.0 to 3.2.5

[Snyk] Security upgrade ruby from 3.0 to 3.2.5 #234

name: The Coffee Bar - frontend application builder
on:
push:
branches:
- main
pull_request:
jobs:
BuildAndPushTheCoffeeBarFrontend:
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Verify changes in python-the-coffee-bar-apps directory
uses: tj-actions/changed-files@v44
id: verify-if-files-changed
with:
files: applications/the-coffee-bar-frontend
- name: Login to ECR Repository
run: make login
- name: Build if changes observed
if: steps.verify-if-files-changed.outputs.any_changed == 'true'
run: make build-frontend
- name: Push if changes observed
if: steps.verify-if-files-changed.outputs.any_changed == 'true'
run: make push-frontend