-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use side-repo for deployment (#3715)
For various reason, we can't call deployment-pipeline from github.com/coveo anymore. So let's do it from github.com/coveo-platform/ui-kit-cd This is very crude, but it (should?) work.
- Loading branch information
1 parent
91287bf
commit 39e980a
Showing
3 changed files
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import {context, getOctokit} from '@actions/github'; | ||
|
||
const octokit = getOctokit(process.env.GH_TOKEN); | ||
|
||
await octokit.rest.repos.createDispatchEvent({ | ||
event_type: 'deploy', | ||
client_payload: { | ||
run_Id: context.runId, | ||
}, | ||
owner: 'coveo-platform', | ||
repo: 'ui-kit-cd', | ||
}); |