Update .gitlab-ci.yml

This commit is contained in:
Adphi 2018-10-08 16:40:39 +00:00
parent d6551164b8
commit 0c6febd4c4

View File

@ -6,8 +6,8 @@ stages:
before_script:
- go get -u golang.org/x/lint/golint
- go get -u github.com/kardianos/govendor
- mkdir -p /go/src/gitlab.adphi.fr/partitio/Nextcloud-Partitio/gonextcloud
- cp -r $CI_PROJECT_DIR /go/src/gitlab.adphi.fr/partitio/Nextcloud-Partitio/gonextcloud
- mkdir -p /go/src/gitlab.adphi.fr/partitio/Nextcloud-Partitio
- cp -r $CI_PROJECT_DIR /go/src/gitlab.adphi.fr/partitio/Nextcloud-Partitio
- cd /go/src/gitlab.adphi.fr/partitio/Nextcloud-Partitio/gonextcloud
- sed -i -e 's/$NEXTCLOUD_URL/'${NEXTCLOUD_URL//\//\\/}'/g' config.yml
- sed -i -e 's/$NEXTCLOUD_PASSWORD/'${NEXTCLOUD_PASSWORD}'/g' config.yml