From 96bfa283d3b43eaf11daf0d1483da38668d798b1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 17 Dec 2022 21:27:34 -0300 Subject: I... Guess it is worth a shot? --- .gitlab-ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..5ed9e7c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +before_script: + - uname -a +image: node:15-buster + +pages: # the job must be named pages + image: node:15-buster + stage: deploy + tags: + - linux + script: + - npm install yarn + - yarn deploy + - mv dist public # rename the dist folder (result of npm run build) + - find public/ + artifacts: + paths: + - public # artifact path must be /public for GitLab Pages to pick it up + only: + - master + -- cgit v1.2.3-60-g2f50