maestria-investigacion/.gitlab-ci.yml

24 lines
751 B
YAML
Raw Normal View History

2021-10-17 19:57:28 -05:00
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 ed1
2021-10-17 21:26:48 -05:00
- git pull origin ed1
2021-10-17 19:57:28 -05:00
script:
- cd tesis && ./generate-all && cd ..
- mkdir public/
- cp -r {anexos,bibliografia,recursos,tesis,index.html} public/
- rm -rf public/bibliografia/recursos
after_script:
- git add . && git commit -m "Multipublicación automatizada realizada." && git push origin master
2021-10-17 21:45:31 -05:00
- git checkout master
2021-10-17 19:57:28 -05:00
artifacts:
paths:
- public
only:
- master