Skip to content
Snippets Groups Projects
Commit b4448022 authored by Umang Majumder's avatar Umang Majumder
Browse files

last last change

parent 78771fe5
No related branches found
No related tags found
No related merge requests found
Pipeline #201198 failed
image: node
before_script:
- npm install
stages:
- build
- deploy
cache:
paths:
- node_modules/
build:
stage: build
script:
- npm install
- npm run generate
pages:
stage: deploy
script:
- npm run generate
- rm -rf public
- mkdir public && cp -rf dist/* public
artifacts:
paths:
- public
only:
- main
\ No newline at end of file
cache:
paths:
- node_modules
- dist
......@@ -13,14 +13,11 @@ export default defineNuxtConfig({
/** ADD THIS BLOCK **/ /*
** Customize the generated output folder
*/
generate: {
dir: 'public'
},
/*
** Customize the base url
*/
router: {
base: '/iisc-bengaluru/' //this is whatever the project is named
}/** END BLOCK **/
}/** END BLOCK **/,
target: 'static'
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment