Skip to content
Snippets Groups Projects
Commit 672e0a19 authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

.gitlab-ci.yml: Tweak to sync with the docs path in the repo workspace


Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 20dd6cc8
No related branches found
No related tags found
No related merge requests found
...@@ -48,11 +48,7 @@ reuse: ...@@ -48,11 +48,7 @@ reuse:
--manifest-name "$OHOS_MANIFEST_NAME" --manifest-name "$OHOS_MANIFEST_NAME"
--manifest-branch "$OHOS_MANIFEST_BRANCH" --manifest-branch "$OHOS_MANIFEST_BRANCH"
- time repo sync --no-clone-bundle - time repo sync --no-clone-bundle
- test -d sources || ( - ( cd "$SCRATCH_DIR"/"$OHOS_GIT_REPO_PATH" && git checkout "$CI_COMMIT_SHA" )
echo "assumption violated - expected the workspace to contain the sources directory"
&& ls "$SCRATCH_DIR"
&& exit 1 )
- ( cd "$SCRATCH_DIR"/sources/"$OHOS_GIT_REPO_PATH" && git checkout "$CI_COMMIT_SHA" )
script: &doc-workspace-do script: &doc-workspace-do
- SCRATCH_DIR="$(cat "$CI_PROJECT_DIR"/.scratch-dir-name)" - SCRATCH_DIR="$(cat "$CI_PROJECT_DIR"/.scratch-dir-name)"
- cd "$SCRATCH_DIR"/docs - cd "$SCRATCH_DIR"/docs
......
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