Skip to content

Commit

Permalink
feat: Inline trigger pipeline script path into command (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo Reymann committed Feb 5, 2022
1 parent 482c6db commit 552527b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/commands/create-trigger-pipeline-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ parameters:
type: string

steps:
- run:
name: Populate script name as env variable
command: |
echo 'export CIRCLECI_TRIGGER_PIPELINE_SCRIPT_PATH="<<parameters.destination>>"' >> $BASH_ENV
- run:
name: Create python script
environment:
CIRCLECI_TRIGGER_PIPELINE_SCRIPT_PATH: <<parameters.destination>>
command: <<include(scripts/create-trigger-pipeline-script.sh)>>

0 comments on commit 552527b

Please sign in to comment.