From bfc50d976a69336b46994b8d52791c9e49fa2126 Mon Sep 17 00:00:00 2001 From: Evie Viau Date: Wed, 28 Jun 2023 04:06:05 -0400 Subject: [PATCH] Add gitlab pages CI --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e3df14e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +# The Docker image that will be used to build your app +image: node:lts + +pages: + cache: + paths: + - node_modules/ + script: + # Specify the steps involved to build your app here + - npm install + - npm run build + + artifacts: + paths: + # The folder that contains the built files to be published. + # This must be called "public". + - public + + only: + # Trigger a new build and deploy only when there is a push to the + # branch(es) below + - main \ No newline at end of file