Skip to content

Commit

Permalink
ci: load macOS release secrets from secret service (#1465)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Sep 22, 2023
1 parent 815d777 commit cb8bd5d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ commands:
- node/install-packages
- run: yarn run contributors
- run: yarn run electron-releases
load-gh-token:
load-release-secrets:
steps:
- run: |
curl -X POST "$FIDDLE_SECRETS_SERVICE_ENDPOINT?format=shell" -H "Content-Type: application/json" -d '{"token":"'$CIRCLE_OIDC_TOKEN'"}' >> $BASH_ENV
Expand Down Expand Up @@ -70,6 +70,7 @@ jobs:
executor: node/macos
steps:
- install
- load-release-secrets
- run: chmod +x tools/add-macos-cert.sh && ./tools/add-macos-cert.sh
- run: npx yarn run publish --arch=<< parameters.arch >> --dry-run
- store_artifacts:
Expand Down Expand Up @@ -134,7 +135,7 @@ jobs:
- install
- attach_workspace:
at: .
- load-gh-token
- load-release-secrets
- run: yarn run publish --from-dry-run
notify-sentry-deploy:
docker:
Expand Down Expand Up @@ -175,6 +176,7 @@ workflows:
parameters:
arch: [ x64 ]
- mac-build:
context: fiddle-release
matrix:
parameters:
arch: [ x64, arm64 ]
Expand Down

0 comments on commit cb8bd5d

Please sign in to comment.