Prueba
This commit is contained in:
parent
fbcb2d27ab
commit
30d34afb55
|
@ -1,2 +0,0 @@
|
|||
.git\\*
|
||||
*.backup
|
|
@ -1,20 +1,22 @@
|
|||
image:
|
||||
name: nikazhenya/pecas-pandoc
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
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 ed2
|
||||
- git pull origin ed2
|
||||
- git checkout -B ed1
|
||||
- git pull origin ed1
|
||||
script:
|
||||
- ruweb $MD_URL
|
||||
- mkdir .public/
|
||||
- cd tesis && ./generate-all && cd ..
|
||||
- rm -rf .g* administrativo apuntes bibliografia/recursos protocolo
|
||||
- mv * .public && mv .public public
|
||||
after_script:
|
||||
- git add .
|
||||
- git commit -m 'Multipublicación automatizada realizada.'
|
||||
- git push --follow-tags origin ed2
|
||||
- git push --follow-tags origin ed1
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
|
Loading…
Reference in New Issue