summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-12-17 21:27:34 -0300
committerJesusaves <cpntb1@ymail.com>2022-12-17 21:27:34 -0300
commit96bfa283d3b43eaf11daf0d1483da38668d798b1 (patch)
treefa57e67a3f566bf3171aa759f40c2ef7ac650a49
parentbea6d99b79eb536da223cf7c9009ddea5a2946cb (diff)
downloadwebsite-96bfa283d3b43eaf11daf0d1483da38668d798b1.tar.gz
website-96bfa283d3b43eaf11daf0d1483da38668d798b1.tar.bz2
website-96bfa283d3b43eaf11daf0d1483da38668d798b1.tar.xz
website-96bfa283d3b43eaf11daf0d1483da38668d798b1.zip
I... Guess it is worth a shot?
-rw-r--r--.gitlab-ci.yml20
1 files changed, 20 insertions, 0 deletions
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
+