diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 998976a1b7e1b9583c0887c87e81d294426255a0..949a32d5deb944e61e19fc97eeb4e21194da2961 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -136,20 +136,38 @@ build_r: publish_listing: only: - docker-images + - rework-image-matrix-and-export needs: - build_r - build_python + before_script: + - git fetch origin docs + - git checkout docs script: - echo "built image,base os,R/Python,shiny-server" > image-list.csv - - cat image-list-fragments/*.csv >> image-list.csv + - cat image-list-fragments/*.csv >> image_list.csv + - WHEN=$(LC_TIME="en_US.utf8" date +"%b %G") + - sed "s/%%date%%/${WHEN}/g" source/user_guide/image_list.rst > image_list.rst artifacts: when: always paths: - - image-list.csv + - image_list.csv + - image_list.rst expire_in: 1 year +update_docs: + only: + - docker-images + - rework-image-matrix-and-export + needs: ["publish_listing"] + trigger: + project: hub/shiny-k8s + branch: docs + + + trigger_r_example: needs: ["build_r"] trigger: