mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 22:09:57 +02:00
Merge pull request #15 from Mermaid-Chart/ci/disable-argos-in-ci
ci: disable Argos in CI
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