Adición de ci

This commit is contained in:
perro tuerto 2021-10-15 16:57:56 -05:00
parent 87ac4762de
commit cbf5a8c963
1 changed files with 23 additions and 0 deletions

23
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,23 @@
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
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 reset --hard
- git checkout master
- git add . && git commit -m "Multipublicación automatizada realizada." && git push origin master
artifacts:
paths:
- public
only:
- master