Prueba
This commit is contained in:
parent
0a0abfd9c9
commit
5027be5b76
|
@ -6,16 +6,19 @@ pages:
|
||||||
- git remote set-url origin https://$GIT_CI_USER:$GIT_CI_PASS@gitlab.com/$CI_PROJECT_PATH.git
|
- 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.email "bot@perro.tuerto"
|
||||||
- git config --global user.name "Perro en la Matrix"
|
- git config --global user.name "Perro en la Matrix"
|
||||||
|
- git checkout -B ed1
|
||||||
- git pull origin ed1
|
- git pull origin ed1
|
||||||
script:
|
script:
|
||||||
- mkdir .public/
|
|
||||||
- cd tesis && ./generate-all && cd ..
|
- cd tesis && ./generate-all && cd ..
|
||||||
- rm -rf .g* administrativo apuntes bibliografia/recursos protocolo
|
- mkdir public/
|
||||||
- mv * .public && mv .public 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:
|
after_script:
|
||||||
- git add .
|
- rm -rf public
|
||||||
- git commit -m 'Multipublicación automatizada realizada.'
|
|
||||||
- git push origin master
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
Loading…
Reference in New Issue