Skip to content

Commit ea298b0

Browse files
committed
Fix the interpolation of deployment tokens.
1 parent b6827ad commit ea298b0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ jobs:
1414
include:
1515
- name: VS Code Marketplace
1616
url: https://marketplace.visualstudio.com/items?itemName=johnbillion.vscode-wordpress-hooks
17-
command: deploy-vsce -- -p ${{ secrets.VSCE_TOKEN }}
17+
command: deploy-vsce
18+
token: VSCE
1819
- name: Open VSX Registry
1920
url: https://open-vsx.org/extension/johnbillion/vscode-wordpress-hooks
20-
command: deploy-openvsx -- -p ${{ secrets.OVSX_TOKEN }}
21+
command: deploy-openvsx
22+
token: OVSX
2123
name: ${{ matrix.name }}
2224
steps:
2325
- uses: octokit/[email protected]
@@ -56,7 +58,7 @@ jobs:
5658
run: npm ci
5759

5860
- name: deploy
59-
run: npm run ${{ matrix.command }}
61+
run: npm run ${{ matrix.command }} -- -p ${{ secrets[format('{0}_TOKEN', matrix.token)] }}
6062

6163
- name: Deployment Succeeded
6264
if: success()

0 commit comments

Comments
 (0)