Skip to content

Commit

Permalink
Trigger VS Code extension after pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
guw committed Jul 16, 2023
1 parent e61c27c commit dfab35d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,17 @@ jobs:
id: deployment
uses: actions/deploy-pages@v2

- name: Trigger VS Code Extension publish workflow
uses: actions/github-script@v6
with:
github-token: ${{ secrets.BAZEL_VSCODE_JAVA_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'salesforce',
repo: 'bazel-vscode-java',
workflow_id: 'workflows/publish.yml',
ref: 'main',
inputs: {
releaseChannel: 'edge'
}
});

0 comments on commit dfab35d

Please sign in to comment.