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
|
||||
if: env.should_deploy == 'true'
|
||||
run: |
|
||||
cd ./src
|
||||
npx @11ty/eleventy
|
||||
npm run build
|
||||
echo "Site built successfully."
|
||||
|
||||
- name: Deploy folder
|
||||
if: env.should_deploy == 'true'
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"description": "My personal blog",
|
||||
"scripts": {
|
||||
"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}"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user