Trying to fix submodule fetch (patch will be removed in the future when omegamma goes public).
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ad5001 2021-08-09 00:14:19 +02:00
parent afb5da1ae9
commit e7e6ec184c
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
2 changed files with 16 additions and 1 deletions

.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "themes/omegamma"]
[submodule "omegamma"]
path = themes/omegamma
url =

View file

@ -7,6 +7,21 @@ clone:
recursive: true
- name: Initilizing submodules
image: alpine/git
GIT_ASKPASS: "/bin/git-askpass-from-env"
# Installing little script to get git password from environment.
- wget
- mv /bin/git-askpass-from-env
- chmod +x /bin/git-askpass-from-env
# Changing submodule URL to https://<USERNAME>
- git submodule init
- git config submodule.sub/omegamma.url https://$
# Fetching submodules
- git submodule update --init --recursive
- name: Build
image: xdevbase/hugo-builder:latest