Updated deployment script, correct build command
All checks were successful
Deploy Blog to Folder / deploy (push) Successful in 1s
All checks were successful
Deploy Blog to Folder / deploy (push) Successful in 1s
This commit is contained in:
@ -28,8 +28,8 @@ jobs:
|
|||||||
- name: Build site
|
- name: Build site
|
||||||
if: env.should_deploy == 'true'
|
if: env.should_deploy == 'true'
|
||||||
run: |
|
run: |
|
||||||
cd ./src
|
npm run build
|
||||||
npx @11ty/eleventy
|
echo "Site built successfully."
|
||||||
|
|
||||||
- name: Deploy folder
|
- name: Deploy folder
|
||||||
if: env.should_deploy == 'true'
|
if: env.should_deploy == 'true'
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
"description": "My personal blog",
|
"description": "My personal blog",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npx @11ty/eleventy --input ./src --serve",
|
"start": "npx @11ty/eleventy --input ./src --serve",
|
||||||
"build": "npx @11ty/eleventy --input .src",
|
"build": "npx @11ty/eleventy --input ./src",
|
||||||
"clean": "rm -rf {_site,./src/_site}"
|
"clean": "rm -rf {_site,./src/_site}"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
Reference in New Issue
Block a user