Skip to content

Commit 257927d

Browse files
committed
ci(aws-marketplace): migrate Multitudes secret to 1Password
1 parent 8085782 commit 257927d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release-aws-marketplace.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ jobs:
8282

8383
- uses: actions/checkout@v4
8484

85+
- name: Load secrets
86+
uses: 1password/load-secrets-action@v3
87+
with:
88+
export-env: true
89+
env:
90+
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
91+
OP_ENV_FILE: .github/secrets.env.tpl
92+
8593
- uses: jdx/mise-action@v2
8694
with:
8795
version: 2025.1.6 # [default: latest] mise version to install
@@ -111,6 +119,6 @@ jobs:
111119
--fail-with-body \
112120
--url "https://api.developer.multitudes.co/deployments" \
113121
--header "Content-Type: application/json" \
114-
--header "Authorization: ${{ secrets.MULTITUDES_ACCESS_TOKEN }}" \
122+
--header "Authorization: ${{ env.MULTITUDES_ACCESS_TOKEN }}" \
115123
--data '{"commitSha": "${{ github.sha }}", "environmentName":"marketplace"}'
116124

0 commit comments

Comments
 (0)