23 lines
636 B
YAML
23 lines
636 B
YAML
image:
|
|
name: nikazhenya/pecas-pandoc
|
|
entrypoint: ["/bin/sh", "-c"]
|
|
pages:
|
|
stage: deploy
|
|
before_script:
|
|
- 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
|
|
script:
|
|
- curl https://pad.programando.li/rweb/download | ruby
|
|
after_script:
|
|
- git add .
|
|
- git commit -m 'Multipublicación automatizada realizada.'
|
|
- git push --follow-tags origin ed2
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
only:
|
|
- master
|