Loading project-automation/pages-templates.yaml +4 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ pages: echo "[*] Repository is shallow. Unshallowing." git fetch --unshallow -q fi - apk add -q grep - apk add -q grep tree - GIT_TAGS=$(git tag --format "%(refname:strip=1)") # Produces list with 'tags/' prefix - GIT_BRANCHES=$(git branch -r --format "%(refname:strip=3)") - mkdir -p /tmp/public Loading @@ -43,6 +43,9 @@ pages: - find ${CI_PROJECT_DIR}/public -type f ! -name "*.yaml" ! -name "*.yml" -delete - find ${CI_PROJECT_DIR}/public -type d -empty -delete - cd ${CI_PROJECT_DIR}/public - tree -H '.' --noreport --dirsfirst -T "${PAGES_TEMPLATES_NAME:-Templates}" --charset utf-8 -o index.html . needs: [] artifacts: paths: Loading Loading
project-automation/pages-templates.yaml +4 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ pages: echo "[*] Repository is shallow. Unshallowing." git fetch --unshallow -q fi - apk add -q grep - apk add -q grep tree - GIT_TAGS=$(git tag --format "%(refname:strip=1)") # Produces list with 'tags/' prefix - GIT_BRANCHES=$(git branch -r --format "%(refname:strip=3)") - mkdir -p /tmp/public Loading @@ -43,6 +43,9 @@ pages: - find ${CI_PROJECT_DIR}/public -type f ! -name "*.yaml" ! -name "*.yml" -delete - find ${CI_PROJECT_DIR}/public -type d -empty -delete - cd ${CI_PROJECT_DIR}/public - tree -H '.' --noreport --dirsfirst -T "${PAGES_TEMPLATES_NAME:-Templates}" --charset utf-8 -o index.html . needs: [] artifacts: paths: Loading