File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 28
28
${{ runner.os }}-node-
29
29
30
30
- run : npm ci
31
- - run : npm run build
31
+ - run : npm run prod
32
32
33
33
- name : Deploy
34
34
uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change 5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"clean" : " rm -rf docs && mkdir -p docs/styles" ,
8
- "dev" : " npm run clean && postcss src/styles/global.css > docs/styles/global.css && eleventy --serve" ,
9
- "build" : " npm run clean && NODE_ENV=production postcss src/styles/global.css > docs/styles/global.css && eleventy" ,
8
+ "static" : " cp -r static docs" ,
9
+ "build" : " npm run clean && npm run static && postcss src/styles/global.css > docs/styles/global.css" ,
10
+ "dev" : " npm run build && eleventy --serve" ,
11
+ "prod" : " NODE_ENV=production npm run build && eleventy" ,
10
12
"format" : " prettier --write src ./*.js ./.*.js"
11
13
},
12
14
"keywords" : [],
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ layout: base.html
3
3
title : The KDL Document Language
4
4
---
5
5
6
- <header class =" py-10 bg-gray-300 " >
7
- <h1 class =" text-4xl text-center " >The KDL Document Language</h1 >
6
+ <header class =" pt-20 pb-10 px-4 " >
7
+ <img src =" ./static/logo.svg " class =" mx-auto h-20 " >
8
+ <h1 class =" text-2xl text-center " >The KDL Document Language</h1 >
8
9
</header >
9
10
10
11
{% include partials/description.md %}
You can’t perform that action at this time.
0 commit comments