So any assets generated with Gitlab CI into that directory, I assume, would have been available but I still get a 404 on them.
My latest revision of .gitlab-ci.yml looks like this:
# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry
stages:
- test
- deploy
- assets
variables:
GIT_SUBMODULE_STRATEGY: recursive
test:
image: registry.gitlab.com/pages/hugo:latest
stage: test
script:
- hugo
except:
- master
assets:
stage: assets
image:
name: pandoc/latex:2.6
entrypoint: ["/bin/sh", "-c"]
before_script:
- apk add bash
- apk add zip
- chmod +x ci-build.sh
script:
- ./ci-build.sh
artifacts:
paths:
- public
pages:
image: registry.gitlab.com/pages/hugo:latest
stage: deploy
script:
- hugo
artifacts:
paths:
- public
only:
- master
And I get this response from the job, yet the assets are not visible:
Uploading artifacts...
public: found 383 matching files
Uploading artifacts to coordinator... ok id=284938060 responseStatus=201 Created token=hVA-17eX
Job succeeded