Skip to content

Commit

Permalink
Rename to
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Sep 24, 2024
1 parent e019ca5 commit f8d7bc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
domain=$(yq eval '.domain' "$file" 2>/dev/null || echo "demo")
# If either field is missing, set default values
provider=${provider:-"unknown_type"}
provider=${provider:-"unknown_provider"}
domain=${domain:-"unknown_domain"}
# Create the key as type:domain
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
for f in ${values[$i]}; do
title=$(cat "$f" | yq -r ".job.description")
fileName=$(cat "$f" | yq -r ".job.name")
resourceprovider=$(cat "$f" | yq -r ".resourceType" || echo "PipelineRun")
resourceProvider=$(cat "$f" | yq -r ".resourceType" || echo "PipelineRun")
printf '%s\n\n' "#### ${title^}" >> SCENARIO.md
printf '%s\n' "Command to be executed: " >> SCENARIO.md
Expand All @@ -140,7 +140,7 @@ jobs:
printf '%s\n' "Generated file: " >> SCENARIO.md
printf '%s\n' "\`\`\`yaml" >> SCENARIO.md
generate_path="generated/$provider/$domain/$(echo $resourceType | awk '{print tolower($0)}')-$fileName.yaml"
generate_path="generated/$provider/$domain/$(echo $resourceProvider | awk '{print tolower($0)}')-$fileName.yaml"
printf '%s\n' "# $generate_path" >> SCENARIO.md
printf '%s\n' "\`\`\`" >> SCENARIO.md
done
Expand Down

0 comments on commit f8d7bc7

Please sign in to comment.