- - git clone --depth 1 https://github.com/discourse/discourse-oauth2-basic.git
- - git clone --depth 1 https://github.com/discourse/discourse-solved.git
- - git clone --depth 1 https://github.com/discourse/discourse-canned-replies.git
- - git clone --depth 1 https://github.com/discourse/discourse-reactions.git
- - git clone --depth 1 https://github.com/discourse/discourse-prometheus.git
- - git clone --depth 1 https://github.com/discourse/discourse-translator.git
- - exec:
- cd: $home
- cmd:
- - git fetch --depth=1 origin tag v2.8.11 --no-tags
- - git checkout v2.8.11
+ - sudo -H -E -u discourse git clone --depth 1 https://github.com/discourse/discourse-oauth2-basic.git
+ - sudo -H -E -u discourse git clone --depth 1 https://github.com/discourse/discourse-solved.git
+ - sudo -H -E -u discourse git clone --depth 1 https://github.com/discourse/discourse-canned-replies.git
+ - sudo -H -E -u discourse git clone --depth 1 https://github.com/discourse/discourse-reactions.git
+ - sudo -H -E -u discourse git clone --depth 1 https://github.com/discourse/discourse-prometheus.git
+ - sudo -H -E -u discourse git clone --depth 1 https://github.com/discourse/discourse-translator.git