From 21830b2840b55686f6f8eed525eaff55b3b50927 Mon Sep 17 00:00:00 2001 From: Firq Date: Sat, 21 Jan 2023 19:23:34 +0100 Subject: [PATCH] Readied for deployment, gitlabyml and astroconfig are now configured --- .gitlab-ci.yml | 13 +++++++++++++ astro.config.mjs | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..46442ef --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +image: node:14 +pages: + cache: + paths: + - node_modules/ + script: + - npm install + - npm run build + artifacts: + paths: + - public + only: + - main \ No newline at end of file diff --git a/astro.config.mjs b/astro.config.mjs index 54e1924..8a56719 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -2,8 +2,8 @@ import { defineConfig } from 'astro/config'; // https://astro.build/config export default defineConfig({ + sitemap: true, outDir: 'public', publicDir: 'static', - base: '/firq-ta-on-astro', - site: 'https://firq.gitlab.neshweb.net/firq-ta-on-astro/' + site: 'https://firq.pages.neshweb.net/firq-ta-on-astro/' });