Static webpages in salsa
Lisandro Damián Nicanor Pérez Meyer
perezmeyer at gmail.com
Sat Feb 24 00:21:35 UTC 2018
In our IRC meeting we decided to keep our www repo as-is for now, and whenever
someone has time for creating something new we would change to some static
page generator.
I've already imported www.git to salsa, s.d.o/qt-kde-team/www
From what I understood from https://wiki.debian.org/Salsa/Doc#Quick_start we
currently *only* can push already-processed webpages:
Note: Even though we plan to support simple page generators like Jekyll or
Hugo in the future, in most cases, you should content yourself with the
HTML template, and generate the pages locally to push them afterward, in
order to save the resources on the runner. Some templates might require
commands not available on the server anyway.
The HTML template reads:
# This file is a template...<snip "please edit" notice>
# Full project: https://gitlab.com/pages/plain-html
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
only:
- master
So if I understand correctly we could go ahead with what we currenlty have by
running genweb.sh and committing *also* the generated pages in the output
directory to git, then just modifying the cp line above to get the contents
from output.
So before going ahead, does someone has any issues wrt this? Any better ideas?
Cheers!
--
Lo que me sorprende de las mujeres es que se arrancan los pelos desde
la raíz con cera caliente y aún así le temen a las arañas.
Jerry Seinfeld
lis: comentario sobre tu frase....
yo soy mujer, yo me arranco los pelos y VOS le tenes miedo a las arañas....
María Luján Pérez Meyer (mi hermana)
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-talk/attachments/20180223/15ff9e0a/attachment.sig>
More information about the pkg-kde-talk
mailing list