Skip to content
Snippets Groups Projects
Commit 68c3eddb authored by Jake's avatar Jake
Browse files

Update .gitlab-ci.yml

parent a8aaf28f
No related branches found
No related tags found
No related merge requests found
before_script:
- echo "Pulling repos..."
- pushd /opt/fgwb-gitlab-ci/gitmeta && git pull && popd
- pushd /opt/fgwb-gitlab-ci/gitwiki && git pull && popd
after_script:
- rm -rf /tmp/fgwb/
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 +r /usr/share/nginx/html/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment