diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a77a9a086a39cad313d31c4ab7a6772ba2606b13..ebd803967028a5f37b7e5cf76da8852e0b3b55b5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,7 +69,6 @@ deploy: - !reference [.workspace, script] # We are in the root of the git-repo workspace. - git clone https://user:$OHOS_AGGREGATED_DOCS_TOKEN@git.ostc-eu.org/OSTC/infrastructure/openharmony-readthedocs-aggregated.git aggregated - - (cd aggregated && git checkout origin/main) # only main for now - needs to match the rules - (cd aggregated && find . -maxdepth 1 -not -path ./.git -not -path . -exec rm -rf {} \;) - tar -c --dereference -C docs --exclude --exclude ./.git --exclude ./.gitlab-ci.yml . | tar -x -C aggregated # Commit and push back, if something changed.