Skip to content

Commit b34fd8d

Browse files
authored
Add "Publish (ovsx)" GitHub Workflow
Hi @ecmel! This PR fixes #213 It simply calls `npx ovsx publish` after publishing to the VS Code marketplace. The only requirement is setting up a `OVSX_PAT` secret (you can generate one [here](https://open-vsx.org/user-settings/tokens)).
1 parent ac29244 commit b34fd8d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ jobs:
1515
node-version: 12.x
1616
- run: npm install
1717
- run: xvfb-run -a npm test
18-
- name: Publish
18+
- name: Publish (vsce)
1919
if: success()
2020
run: npm run deploy
2121
env:
2222
VSCE_PAT: ${{ secrets.VSCE_PAT }}
23+
- name: Publish (ovsx)
24+
if: success()
25+
run: npx ovsx publish
26+
env:
27+
OVSX_PAT: ${{ secrets.OVSX_PAT }}

0 commit comments

Comments
 (0)