Newer
Older
#build1:
# stage: build
# tags:
# - landingpage
# script:
# - echo "Pulling repos..."
# - pushd /opt/fgwb-gitlab-ci/gitmeta && git pull && popd
# - pushd /opt/fgwb-gitlab-ci/gitwiki && git pull && popd
# - fgwb file:///opt/fgwb-gitlab-ci/gitwiki/.git file:///opt/fgwb-gitlab-ci/gitmeta/.git /opt/fgwb-gitlab-ci/todeploy
# - rm -rf /tmp/fgwb/
#
#deploy1:
# stage: deploy
# tags:
# - landingpage
# script:
# - cp -rv /opt/fgwb-gitlab-ci/todeploy/* /usr/share/nginx/html/
# - chmod -R a+rX /usr/share/nginx/html/