Skip to content
Snippets Groups Projects
Commit 99992e4d authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

gitlab-ci.yml: exclude .repo in aggregated view


Currently we are trying to pack the entire .repo history, which fails on
a size-limit hook we've set up globally. Fix this by filtering out
.repo.

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent f975eec7
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ deploy:
- cd openharmony-readthedocs-aggregated
- git checkout origin/main # only main for now - needs to match the rules
- find . -maxdepth 1 -not -path ./.git -not -path . -exec rm -rf {} \;
- tar -c --dereference -C .. --exclude openharmony-readthedocs-aggregated --exclude ./.git --exclude ./.gitlab-ci.yml . | tar -x
- tar -c --dereference -C .. --exclude openharmony-readthedocs-aggregated --exclude ./.repo --exclude ./.git --exclude ./.gitlab-ci.yml . | tar -x
# Commit and push back, if something changed.
- |
if [ -n "$(git status -s)" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment