]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
.gitlab-ci.yml: fixed docs:website
authorAleš Mrázek <ales.mrazek@nic.cz>
Thu, 30 Oct 2025 13:01:06 +0000 (14:01 +0100)
committerAleš Mrázek <ales.mrazek@nic.cz>
Thu, 30 Oct 2025 22:07:10 +0000 (23:07 +0100)
.gitlab-ci.yml

index a2c4da8218baab0c83cb1dda42ed00d076211b40..040693ee0f84c28a541b8dcde39516fedde45f57 100644 (file)
@@ -827,13 +827,13 @@ docs:website:
     refs:
       - tags
   script:
-    - "git clone \"https://gitlab-ci-token:${WEBSITE_DOCS_CI_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/websites/knot-resolver.cz.git\" website"
-    - "cp --recursive --verbose \"doc/html\" \"website/content/documentation/${CI_COMMIT_REF_NAME}\""
+    - git clone https://gitlab-ci-token:${WEBSITE_DOCS_CI_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/websites/knot-resolver.cz.git website
+    - cp --recursive --verbose doc/html website/content/documentation/${CI_COMMIT_REF_NAME}
     - cd website
-    - "git checkout -b \"docs/${CI_COMMIT_REF_NAME}\""
-    - "git add \"content/documentation/${CI_COMMIT_REF_NAME}\""
+    - git checkout -b docs/${CI_COMMIT_REF_NAME}
+    - git add content/documentation/${CI_COMMIT_REF_NAME}
     - "git commit -m \"docs: ${CI_COMMIT_REF_NAME}\""
-    - "git push --force --set-upstream origin \"docs/${CI_COMMIT_REF_NAME}\""
+    - git push --force --set-upstream origin "docs/${CI_COMMIT_REF_NAME}"
 
 # }}}