Skip to content
Snippets Groups Projects
Commit 3a7420cb authored by Julian's avatar Julian
Browse files

Add .gitlab-ci.yml to generate directory index for archiving

parent 0d42c2fd
No related branches found
No related tags found
No related merge requests found
Pipeline #13778 passed
image: registry.git.cccv.de/infra/static-pages/docker-images/bullseye-directory-listing
variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
- find public/ -name '.*' -exec rm -r {} \;
- apt-get update -qq; apt-get install --reinstall -y libexpat1 #this is a workaround for some strange bug where libexpat is missing
- create-directory-html-index --template rc3 ./public ./public
- du -hs ./public
artifacts:
paths:
- public
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment