Skip to content

Commit 99ef248

Browse files
Update runner-entrypoint.sh
1 parent 743f008 commit 99ef248

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

runner-entrypoint.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ then
1010
BRANCH=$(cat $GITHUB_EVENT_PATH | jq -r head.ref)
1111
fi
1212

13-
codefresh auth create-context mycontext --api-key $CF_API_KEY
14-
codefresh auth use-contex mycontext
15-
echo $CF_API_KEY
16-
codefresh run $PIPELINE_NAME --trigger=$TRIGGER_NAME --sha=$GITHUB_SHA --branch=$BRANCH
13+
echo "branch is $BRANCH"
14+
15+
codefresh auth create-context context --api-key $CF_API_KEY
16+
codefresh auth use-contex context
17+
18+
codefresh run $PIPELINE_NAME --trigger=$TRIGGER_NAME --branch=$BRANCH

0 commit comments

Comments
 (0)