5
votes

My gitlab page can't proceed to deployment eventhough build passed says artifacts are missing. I'm currently following the tutorial from https://about.gitlab.com/features/pages/ and using template https://gitlab.com/pages/plain-html

Please see screenshots: screenshot of job screenshot of compose file

You can checkout my repo here: https://gitlab.com/jairus.jsx/portfolio Any help would be greatly appreciated thanks!

1

1 Answers

10
votes

to all experiencing the same error just update your .gitlab-ci.yml :)

image: alpine:latest

pages:
  stage: deploy
  script:
  - mkdir .public
  - cp -r * .public
  - mv .public public
  artifacts:
    paths:
    - public
  only:
  - master

this way, your public folder gets updated everytime you build