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 27, 2023
1 parent ba28c25 commit 5d335c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:

- run: npm i

- name: Add Segment key
run: printf "export const SEGMENT_API_KEY = '${{ env.GITHUB_ACTION }}';\n" > src/config.ts

- run: cat src/config.ts

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

0 comments on commit 5d335c4

Please sign in to comment.