Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
[Unit]
Description=rootco.de Jekyll Build Service
After=network-online.target
[Service]
Type=oneshot
Environment=JEKYLL_VERSION=4.0.1
ExecStartPre=-/usr/bin/podman run --rm -v /var/opt/rootco-jekyll:/srv/jekyll -it jekyll/jekyll:${JEKYLL_VERSION} git clone https://github.com/sysrich/rootco.de-web.git /srv/jekyll
ExecStart=/usr/bin/podman run --rm -v /var/opt/rootco-jekyll:/srv/jekyll -it jekyll/jekyll:${JEKYLL_VERSION} git pull
ExecStart=/usr/bin/podman run --rm -v /var/opt/rootco-jekyll:/srv/jekyll -it jekyll/jekyll:4.0 chown -R 1000:1000 /srv/jekyll
ExecStart=/usr/bin/podman run --rm -v /var/opt/rootco-jekyll:/srv/jekyll -it jekyll/jekyll:${JEKYLL_VERSION} jekyll build
ExecStart=/usr/bin/rsync -a --delete /var/opt/rootco-jekyll/_site/ /var/opt/rootco-web/data/htdocs
[Install]
WantedBy=multi-user.target