demisto / content-docs

Demisto Content Developer Docs
https://xsoar.pan.dev/
MIT License
41 stars 59 forks source link

Issue with "XSOAR CI/CD" in @site/docs/reference/articles/xsoar-ci-cd.md #1138

Closed ennozdd closed 2 years ago

ennozdd commented 2 years ago

Describe the problem

image

the field "path" should not change as the automation workflow script relies on the name "repository"

it should stay as

path: repository

for example

PACKS_CHANGED=$(python $GITHUB_WORKSPACE/repository/build_related_scripts/get_modified_packs.py --repo_path $GITHUB_WORKSPACE/repository/)

https://github.com/demisto/content-ci-cd-template/blob/1a6ce4a4899281422d61272a98792a2a9fe0a20c/.github/workflows/config.yml#L38

Screenshots

Environment

Suggested fix

Please remove the last line from the example in the XSOAR CI/CD article or set "path" to repository

path: content-ci-cd-template

welcome[bot] commented 2 years ago

Hi and welcome to our Content Developer Docs project! Thanks and congrats for opening your very first issue. If you know the fix, you may also submit a PR to fix the issue if you like!