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/' });