Skip to content

Commit 7a506d9

Browse files
change secret
1 parent a1434b6 commit 7a506d9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
env:
1313
PIPELINE_NAME: 'codefresh-pipeline'
1414
TRIGGER_NAME: 'codefresh-trigger'
15-
CF_API_KEY_NON_SECRET: 5d51a3377ebed0d5707bfedc.794887e1c6b7a0ed9e0153ac5def6a74
15+
CF_API_KEY: ${{ secrets.GITHUB_TOKEN }}
1616
id: run-pipeline

runner-entrypoint.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ else
1414
echo "Required file on path 'GITHUB_EVENT_PATH' not exists"
1515
fi
1616

17-
echo "$CF_API_KEY_NON_SECRET"
18-
19-
codefresh auth create-context context --api-key $CF_API_KEY_NON_SECRET
17+
codefresh auth create-context context --api-key $CF_API_KEY
2018
codefresh auth use-contex context
2119

2220

0 commit comments

Comments
 (0)