Skip to content

Commit

Permalink
WIP spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
MDavidson17 committed Sep 19, 2023
1 parent 8c6d058 commit e3e61d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
- name: Submit workflow(s)
run: |
for file in ${{ steps.changed-files.outputs.changed_files }}; do
if [["$file"=="*.yaml"]]; then
if [[ "$file" == "*.yaml" ]]; then
echo $file
if [["$file"==*"argo-submits"*]]; then
if [[ "$file" == *"argo-submits"* ]]; then
echo $file
# ./argo-linux-amd64 submit --from wftmpl/publish-copy -n argo -f $file --generate-name test-mdavidson-gh-action-
fi
Expand Down
2 changes: 1 addition & 1 deletion workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

While using [sprig function](http://masterminds.github.io/sprig/) on a task or workflow parameter that contains a `-`, the parameter has to be passed with `[]` to be correctly parsed:
`workflow.parameters.my-param` -> `workflow.parameters['my-param']`
test

0 comments on commit e3e61d6

Please sign in to comment.