maestria-investigacion/.gitlab-ci.yml

25 lines
748 B
YAML
Raw Normal View History

2021-10-12 16:20:24 -05:00
image: nikazhenya/pecas:latest
2021-04-11 01:13:06 -05:00
pages:
stage: deploy
2021-04-25 01:15:52 -05:00
before_script:
2021-10-12 16:20:24 -05:00
- source $HOME/.bash_profile
2021-04-25 01:37:03 -05:00
- git remote set-url origin https://$GIT_CI_USER:$GIT_CI_PASS@gitlab.com/$CI_PROJECT_PATH.git
2021-04-25 02:16:47 -05:00
- git config --global user.email "bot@perro.tuerto"
- git config --global user.name "Perro en la Matrix"
2021-10-12 16:20:24 -05:00
- git checkout -B ed1
- git pull origin ed1
2021-04-11 01:13:06 -05:00
script:
2021-10-12 16:20:24 -05:00
- mkdir .public/
- cd tesis && ./generate-all && cd ..
- rm -rf .g* administrativo apuntes bibliografia/recursos protocolo
- mv * .public && mv .public public
2021-04-25 01:15:52 -05:00
after_script:
2021-04-25 01:18:32 -05:00
- git add .
2021-04-25 01:15:52 -05:00
- git commit -m 'Multipublicación automatizada realizada.'
2021-10-12 16:20:24 -05:00
- git push --follow-tags origin ed1
2021-04-11 01:13:06 -05:00
artifacts:
paths:
- public
only:
- master