Skip to content
Snippets Groups Projects
Commit 38a2e5f1 authored by nd's avatar nd
Browse files

Add directory listing via gitlab pages

parent 8a1d1e2e
No related branches found
No related tags found
1 merge request!6Gitlab pages support
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 ./public ./public
artifacts:
paths:
- public
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment