Skip to content

Commit ea1095f

Browse files
authored
Merge pull request #2 from pythonindia/fix-build
set 2025 as baseURL for prod
2 parents 9cbcfcc + f13b15d commit ea1095f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/eleventy_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: npm ci
2828

2929
- name: Build site with Eleventy
30-
run: npm run deploy-prod # Ensure this script is set up in package.json
30+
run: npm run deploy-dev # Ensure this script is set up in package.json
3131

3232
- name: Upload artifact for deployment
3333
id: dep

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"serve": "ELEVENTY_ENV=dev eleventy --serve",
77
"deploy": "eleventy",
8-
"deploy-prod": "ELEVENTY_ENV=prod eleventy"
8+
"deploy-dev": "ELEVENTY_ENV=dev eleventy"
99
},
1010
"author": "ttntm",
1111
"license": "MIT",

src/_data/env.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
const isPord = process.env.ELEVENTY_ENV === 'prod'
1+
const isDev = process.env.ELEVENTY_ENV === 'dev'
22

33
module.exports = {
4-
baseUrl: isPord
4+
baseUrl: isDev
55
? '/inpycon2025/'
6-
: '/'
6+
: '/2025/'
77
}

0 commit comments

Comments
 (0)