chore(ruby): update ruby upstream deps #222
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: The Coffee Bar - ruby applications builder | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
BuildAndPushTheCoffeeBarRubyApps: | |
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@v2 | |
with: | |
fetch-depth: 0 | |
- name: Verify changes in python-the-coffee-bar-apps directory | |
uses: tj-actions/[email protected] | |
id: verify-if-files-changed | |
with: | |
files: applications/ruby-the-coffee-bar-apps | |
- 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-ruby-apps | |
- name: Push if changes observed | |
if: steps.verify-if-files-changed.outputs.any_changed == 'true' | |
run: make push-ruby-apps |