summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-01-09 09:47:18 -0300
committerJesusaves <cpntb1@ymail.com>2023-01-09 09:47:18 -0300
commitd36f23a94e0fc841fc2e04f4ed9c587b27ecbc5e (patch)
treea0f99c3d92e4b2e3a16e51ed880a287ec44ec50a
parent96bfa283d3b43eaf11daf0d1483da38668d798b1 (diff)
downloadwebsite-d36f23a94e0fc841fc2e04f4ed9c587b27ecbc5e.tar.gz
website-d36f23a94e0fc841fc2e04f4ed9c587b27ecbc5e.tar.bz2
website-d36f23a94e0fc841fc2e04f4ed9c587b27ecbc5e.tar.xz
website-d36f23a94e0fc841fc2e04f4ed9c587b27ecbc5e.zip
Fix a public/dist issue instead of public/
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5ed9e7c..62a8eb0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,7 +10,9 @@ pages: # the job must be named pages
script:
- npm install yarn
- yarn deploy
- - mv dist public # rename the dist folder (result of npm run build)
+ - rm -rf public
+ - mkdir -p public
+ - mv dist/* public # rename the dist folder (result of npm run build)
- find public/
artifacts:
paths: