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
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
afb5da1ae9
commit
e7e6ec184c
2 changed files with 16 additions and 1 deletions
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -1,3 +1,3 @@
|
||||||
[submodule "themes/omegamma"]
|
[submodule "omegamma"]
|
||||||
path = themes/omegamma
|
path = themes/omegamma
|
||||||
url = https://git.ad5001.eu/Ad5001/omegamma
|
url = https://git.ad5001.eu/Ad5001/omegamma
|
||||||
|
|
15
ci/drone.yml
15
ci/drone.yml
|
@ -7,6 +7,21 @@ clone:
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Initilizing submodules
|
||||||
|
image: alpine/git
|
||||||
|
environment:
|
||||||
|
GIT_ASKPASS: "/bin/git-askpass-from-env"
|
||||||
|
commands:
|
||||||
|
# Installing little script to get git password from environment.
|
||||||
|
- wget https://download.ad5001.eu/other/git-askpass-from-env.sh
|
||||||
|
- mv git-askpass-from-env.sh /bin/git-askpass-from-env
|
||||||
|
- chmod +x /bin/git-askpass-from-env
|
||||||
|
# Changing submodule URL to https://<USERNAME>@git.ad5001.eu/Ad5001/omegamma.git
|
||||||
|
- git submodule init
|
||||||
|
- git config submodule.sub/omegamma.url https://$DRONE_GIT_USERNAME@git.ad5001.eu/Ad5001/omegamma.git
|
||||||
|
# Fetching submodules
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Build dev.ad5001.eu
|
- name: Build dev.ad5001.eu
|
||||||
image: xdevbase/hugo-builder:latest
|
image: xdevbase/hugo-builder:latest
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in a new issue