Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IISc-Bengaluru
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2023 Competition
IISc-Bengaluru
Commits
b4448022
Commit
b4448022
authored
1 year ago
by
Umang Majumder
Browse files
Options
Downloads
Patches
Plain Diff
last last change
parent
78771fe5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#201198
failed
1 year ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+17
-8
17 additions, 8 deletions
.gitlab-ci.yml
nuxt.config.ts
+2
-5
2 additions, 5 deletions
nuxt.config.ts
with
19 additions
and
13 deletions
.gitlab-ci.yml
+
17
−
8
View file @
b4448022
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
This diff is collapsed.
Click to expand it.
nuxt.config.ts
+
2
−
5
View file @
b4448022
...
...
@@ -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
'
})
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment