This commit is contained in:
perro tuerto 2021-10-12 17:35:46 -05:00
parent 0a0abfd9c9
commit 5027be5b76
1 changed files with 9 additions and 6 deletions

View File

@ -6,16 +6,19 @@ pages:
- 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:
- mkdir .public/
- cd tesis && ./generate-all && cd ..
- rm -rf .g* administrativo apuntes bibliografia/recursos protocolo
- mv * .public && mv .public public
- 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:
- git add .
- git commit -m 'Multipublicación automatizada realizada.'
- git push origin master
- rm -rf public
artifacts:
paths:
- public