avoid "cannot unmarshal 'map[echo 'step:set_path_for_branch']'"

vielleicht stört Woodpecker der zweite : (Doppelpunkt)?
This commit is contained in:
Ludger Sicking 2024-11-04 12:49:15 +01:00
parent 7607981d78
commit 1dd11d96de

View file

@ -3,7 +3,7 @@ steps:
- name: set_path_for_branch - name: set_path_for_branch
image: alpine image: alpine
commands: commands:
- echo 'step: set_path_for_branch' - echo 'Schritt.01. set_path_for_branch'
- echo "PATH_FOR_BRANCH=$CI_COMMIT_BRANCH" >> environment_variables - echo "PATH_FOR_BRANCH=$CI_COMMIT_BRANCH" >> environment_variables
- cat environment_variables - cat environment_variables
- sed "s+'//oer.community/'+'//oer.community/sb/${CI_COMMIT_BRANCH}/'+" sb/hugo.yaml > hugo-changed.yaml - sed "s+'//oer.community/'+'//oer.community/sb/${CI_COMMIT_BRANCH}/'+" sb/hugo.yaml > hugo-changed.yaml