diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-04-30 15:16:44 +0000 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-04-30 15:16:44 +0000 |
commit | 80e055cfd3790c82d87ee4a8a5d11aed94027e0f (patch) | |
tree | 3d9ae089b24fc64074f20522f7e5a6664d6b2f98 | |
parent | afdb4b50a9a4b2d1aab70ad4eb3f51323d8e53e3 (diff) | |
download | stvnliu.gitlab.io-80e055cfd3790c82d87ee4a8a5d11aed94027e0f.tar.gz stvnliu.gitlab.io-80e055cfd3790c82d87ee4a8a5d11aed94027e0f.tar.bz2 stvnliu.gitlab.io-80e055cfd3790c82d87ee4a8a5d11aed94027e0f.zip |
Add .gitlab-ci.yml
-rw-r--r-- | .gitlab-ci.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..8692073 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +# The Docker image that will be used to build your app +image: node:lts +# Functions that should be executed before the build script is run +before_script: + - npm install +pages: + script: + - npm run build + artifacts: + paths: + # The folder that contains the files to be exposed at the Page URL + - public + rules: + # This ensures that only pushes to the default branch will trigger + # a pages deploy + - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH |