Skip to content

Commit

Permalink
ci: add handling of segment API key
Browse files Browse the repository at this point in the history
  • Loading branch information
f1ames committed Nov 28, 2023
1 parent ba28c25 commit b54901b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
release:
runs-on: ubuntu-latest

env:
JOB_VARIABLE: 12345

steps:
- uses: actions/checkout@v4

Expand All @@ -19,6 +22,9 @@ jobs:

- run: npm i

- name: Propagate SEGMENT API key
run: printf "export const SEGMENT_API_KEY = '%s';\n" "${{ secrets.TEST_SECRET }}" > src/config.ts

- name: Publish to marketplace
id: publishPackage
uses: HaaLeo/publish-vscode-extension@v1
Expand Down

0 comments on commit b54901b

Please sign in to comment.