Skip to content

mono

mono #12

Workflow file for this run

name: ๐Ÿš€ Deploy
on:
push:
branches:
- main
pull_request: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
actions: write
contents: read
jobs:
deploy:
name: ๐Ÿš€ Deploy
runs-on: ubuntu-22.04
# only build/deploy branches on pushes
if: ${{ github.event_name == 'push' }}
steps:
- name: โฌ‡๏ธ Checkout repo
uses: actions/checkout@v4
- name: ๐Ÿงฎ Determine Changes
id: changed-files
run: |
echo "::set-output name=changed-files::$(git diff --name-only ${{ github.event.before }} ${{ github.sha }})"
- name: ๐Ÿš€ Deploy Scheduler
uses: ./.github/workflows/deploy.scheduler.yml
if:
${{ contains(steps.changed-files.outputs.changed-files,
'apps/scheduler/') }}
- name: ๐Ÿš€ Deploy App
uses: ./.github/workflows/deploy.app.yml
if:
${{ contains(steps.changed-files.outputs.changed-files, 'apps/app/')
}}