Readied for deployment, gitlabyml and astroconfig are now configured
This commit is contained in:
parent
57bb6c9df6
commit
21830b2840
2 changed files with 15 additions and 2 deletions
13
.gitlab-ci.yml
Normal file
13
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
image: node:14
|
||||||
|
pages:
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- node_modules/
|
||||||
|
script:
|
||||||
|
- npm install
|
||||||
|
- npm run build
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
- main
|
|
@ -2,8 +2,8 @@ import { defineConfig } from 'astro/config';
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
sitemap: true,
|
||||||
outDir: 'public',
|
outDir: 'public',
|
||||||
publicDir: 'static',
|
publicDir: 'static',
|
||||||
base: '/firq-ta-on-astro',
|
site: 'https://firq.pages.neshweb.net/firq-ta-on-astro/'
|
||||||
site: 'https://firq.gitlab.neshweb.net/firq-ta-on-astro/'
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue