Skip to content

Commit

Permalink
Switch to using the PAT environment variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Oct 8, 2023
1 parent 7472b02 commit f95fd89
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
environment:
name: VS Code Marketplace
url: https://marketplace.visualstudio.com/items?itemName=johnbillion.vscode-wordpress-hooks
env:
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}
steps:
- name: checkout repo
uses: actions/checkout@v3
Expand All @@ -27,7 +29,7 @@ jobs:
run: npm ci

- name: deploy
run: npm run deploy-vsce -- -p ${{ secrets.VSCE_TOKEN }}
run: npm run deploy-vsce

openvsx:
name: Open VSX
Expand All @@ -36,6 +38,8 @@ jobs:
environment:
name: Open VSX Registry
url: https://open-vsx.org/extension/johnbillion/vscode-wordpress-hooks
env:
OVSX_PAT: ${{ secrets.OVSX_TOKEN }}
steps:
- name: checkout repo
uses: actions/checkout@v3
Expand All @@ -50,7 +54,7 @@ jobs:
run: npm ci

- name: deploy
run: npm run deploy-openvsx -- -p ${{ secrets.OVSX_TOKEN }}
run: npm run deploy-openvsx

github:
name: GitHub Milestones
Expand Down

0 comments on commit f95fd89

Please sign in to comment.