I believe it was answered a bazillion times, just can’t find anything relevant.
Have this very simple ci configuration:
- git fetch
- git status
- npm install
- npm run build
- scp -r public prodserver:public_html/
- scp -r public devserver:public_html/
and what I see is that gitlab builds the build stage ok,
but for the DEPLOY stages it creates the new container, and of course in the new container there will be no ‘public’ directory.
how to eliminate the problem?