2 次代码提交 ae4efc0c46 ... 7fdb9ee1e2

作者 SHA1 备注 提交日期
  Hayden K 7fdb9ee1e2 Test GitLab CI (probably won't work lol) 2 周之前
  Hayden K 638a4e9e0e Remove space from filename of the basic setup page 6 月之前
共有 2 个文件被更改,包括 27 次插入0 次删除
  1. 27 0
      .gitlab-ci.yml
  2. 0 0
      docs/tutorials/welcome/basic-setup.mdx

+ 27 - 0
.gitlab-ci.yml

@@ -0,0 +1,27 @@
+image: node:lts
+
+stages:
+  - test
+  - deploy
+
+test:
+  stage: test
+  script:
+  - cd website
+  - npm install --force
+  - npm run build
+  except:
+    - master
+
+pages:
+  stage: deploy
+  script:
+  - cd website
+  - npm install --force
+  - npm run build
+  - mv ./build ../public
+  artifacts:
+    paths:
+    - public
+  only:
+    - master

docs/tutorials/welcome/Basic Setup.mdx → docs/tutorials/welcome/basic-setup.mdx