Prueba
This commit is contained in:
parent
c528f47974
commit
3360bb99f0
|
@ -2,12 +2,21 @@ image: nikazhenya/pecas:latest
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
before_script:
|
before_script:
|
||||||
- export PATH=/home/pecas/.pecas/src/alien/epubcheck/bin:/home/pecas/.pecas/docs/man:/home/pecas/.pecas/bin:/home/pecas/.local/share/gem/ruby/3.0.0/bin:$PATH
|
- 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 -B ed1
|
||||||
|
- git pull origin ed1
|
||||||
script:
|
script:
|
||||||
- mkdir .public/
|
- mkdir .public/
|
||||||
- cd tesis && ./generate-all && cd ..
|
- cd tesis && ./generate-all && cd ..
|
||||||
- rm -rf .g* administrativo apuntes bibliografia/recursos protocolo
|
- rm -rf .g* administrativo apuntes bibliografia/recursos protocolo
|
||||||
- mv * .public && mv .public public
|
- mv * .public && mv .public public
|
||||||
|
after_script:
|
||||||
|
- git add .
|
||||||
|
- git commit -m 'Multipublicación automatizada realizada.'
|
||||||
|
- git push --follow-tags origin ed1
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
Loading…
Reference in New Issue