Skip to content

Commit

Permalink
Fix the interpolation of deployment tokens.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Dec 30, 2021
1 parent b6827ad commit ea298b0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
include:
- name: VS Code Marketplace
url: https://marketplace.visualstudio.com/items?itemName=johnbillion.vscode-wordpress-hooks
command: deploy-vsce -- -p ${{ secrets.VSCE_TOKEN }}
command: deploy-vsce
token: VSCE
- name: Open VSX Registry
url: https://open-vsx.org/extension/johnbillion/vscode-wordpress-hooks
command: deploy-openvsx -- -p ${{ secrets.OVSX_TOKEN }}
command: deploy-openvsx
token: OVSX
name: ${{ matrix.name }}
steps:
- uses: octokit/request-action@v2.x
Expand Down Expand Up @@ -56,7 +58,7 @@ jobs:
run: npm ci

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

- name: Deployment Succeeded
if: success()
Expand Down

0 comments on commit ea298b0

Please sign in to comment.