diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 758f2777d74fbf024fe4f67050a0a8a685d51824..3cc1248180a2e88f906a26f360fb91cdc5beef42 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -74,7 +74,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 . | tar -x + - tar -c --dereference -C .. --exclude openharmony-readthedocs-aggregated --exclude ./.git --exclude ./.gitlab-ci.yml . | tar -x # Commit and push back, if something changed. - | if [ -n "$(git status -s)" ]; then