mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-01 21:29:40 +02:00
ci: disable Argos in CI
Argos only works in open-source repos, it doesn't work for this private repo.
This commit is contained in:
@@ -23,7 +23,9 @@ export default eyesPlugin(
|
||||
});
|
||||
// copy any needed variables from process.env to config.env
|
||||
config.env.useAppli = process.env.USE_APPLI ? true : false;
|
||||
config.env.useArgos = !!process.env.CI;
|
||||
// only use Argos on CI in the mermaid-js/mermaid repository
|
||||
config.env.useArgos =
|
||||
!!process.env.CI && process.env.GITHUB_REPOSITORY === 'mermaid-js/mermaid';
|
||||
|
||||
if (config.env.useArgos) {
|
||||
registerArgosTask(on, config, {
|
||||
|
Reference in New Issue
Block a user