maestria-investigacion/.gitlab-ci.yml

27 lines
718 B
YAML

image: nikazhenya/pecas:latest
pages:
stage: deploy
before_script:
- source $HOME/.bash_profile
- git remote set-url origin https://$GIT_CI_USER:$GIT_CI_PASS@gitlab.com/$CI_PROJECT_PATH.git
- git config --global user.email "bot@perro.tuerto"
- git config --global user.name "Perro en la Matrix"
- git checkout -B ed1
- git pull origin ed1
script:
- cd tesis && ./generate-all && cd ..
- mkdir public/
- cp -r anexos public
- cp -r bibliografia public
- cp -r recursos public
- cp -r tesis public
- cp -r index.html public
- rm -rf public/bibliografia/recursos
after_script:
- rm -rf public
artifacts:
paths:
- public
only:
- master