PR Merged CI (Deploy All) #10
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: "PR Merged CI (Deploy All)" | |
on: | |
workflow_dispatch: | |
jobs: | |
bronzeDataService: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Detect Build Artifact(s) | |
id: artifact | |
run: | | |
export JOBS=$(grep Lambdas tools/artifacts.tmp); exit 0 | |
export LAMBDAS=$(grep Jobs tools/artifacts.tmp); exit 0 | |
echo "jobs=$JOBS" >> $GITHUB_OUTPUT | |
echo "lambdas=$LAMBDAS" >> $GITHUB_OUTPUT | |
- name: Promote Artifacts (Bronze to Silver) | |
if: steps.artifact.outputs.lambdas == 'Lambdas' | |
run: echo Lambdas | |
- name: Promote Artifacts (Bronze to Silver Backfill) | |
if: steps.artifact.outputs.lambdas == 'potato' | |
run: echo Jobs |