Skip to content

Commit

Permalink
Update workflow to include secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
fahminlb33 committed Sep 6, 2020
1 parent 8f4d6d9 commit af24491
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
with:
submodules: 'recursive'

- name: Replace environment vars
uses: shitiomatic/str-replace@master
with:
find: "KFLEARNING_API_KEY"
replace: "${{ secrets.KFLEARNING_API_KEY }}"

- name: Run Cake Build
run: PowerShell.exe -ExecutionPolicy Bypass -File ./build.ps1 --target Build-Incremental --configuration Debug

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
with:
submodules: 'recursive'

- name: Replace environment vars
uses: shitiomatic/str-replace@master
with:
find: "KFLEARNING_API_KEY"
replace: "${{ secrets.KFLEARNING_API_KEY }}"

- name: Run Cake Build
run: PowerShell.exe -ExecutionPolicy Bypass -File ./build.ps1 --target Build-Incremental --configuration Release

Expand Down

0 comments on commit af24491

Please sign in to comment.