mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-28 07:50:34 +00:00
chore: improve cleanup script for dev env (#416)
This commit is contained in:
parent
34f9983c5b
commit
805da23726
@ -26,7 +26,7 @@ steps:
|
|||||||
NPM_CONFIG_LOGLEVEL: error
|
NPM_CONFIG_LOGLEVEL: error
|
||||||
|
|
||||||
- name: testbuild
|
- name: testbuild
|
||||||
image: thegeeklab/hugo:0.114.0
|
image: thegeeklab/hugo:0.115.2
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/hugo-geekblog
|
- mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/hugo-geekblog
|
||||||
- hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/ -e ci
|
- hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/ -e ci
|
||||||
@ -173,7 +173,7 @@ steps:
|
|||||||
- refs/pull/**
|
- refs/pull/**
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: thegeeklab/hugo:0.114.0
|
image: thegeeklab/hugo:0.115.2
|
||||||
commands:
|
commands:
|
||||||
- hugo --panicOnWarning -s exampleSite/
|
- hugo --panicOnWarning -s exampleSite/
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"svg:sprite": "svg-sprite -C svgsprite.config.json 'src/icons/*.svg'",
|
"svg:sprite": "svg-sprite -C svgsprite.config.json 'src/icons/*.svg'",
|
||||||
"svg:font": "svgtofont --sources build/icons/ --output build/fonts/",
|
"svg:font": "svgtofont --sources build/icons/ --output build/fonts/",
|
||||||
"prep:clean": "shx rm -rf build/ static/",
|
"prep:clean": "shx rm -rf build/ static/",
|
||||||
"prep:clean-all": "shx rm -rf build/ dist/ static/ data/ assets/sprites/ exampleSite/data/sprites/",
|
"prep:clean-all": "shx rm -rf VERSION .lighthouseci/ lhci_reports/ build/ dist/ static/ data/ assets/sprites/ exampleSite/data/sprites/ exampleSite/public/ exampleSite/resources/ exampleSite/.hugo_build.lock",
|
||||||
"prep:make": "shx mkdir -p build/icons/ build/fonts/ dist/",
|
"prep:make": "shx mkdir -p build/icons/ build/fonts/ dist/",
|
||||||
"svg-sprite-list": "run-s prep:make svg ; shx mkdir -p exampleSite/data/sprites/ ; shx cp build/fonts/GeekblogIcons.json exampleSite/data/sprites/geekblog.json",
|
"svg-sprite-list": "run-s prep:make svg ; shx mkdir -p exampleSite/data/sprites/ ; shx cp build/fonts/GeekblogIcons.json exampleSite/data/sprites/geekblog.json",
|
||||||
"lint": "eslint src/js/ --color"
|
"lint": "eslint src/js/ --color"
|
||||||
|
Loading…
Reference in New Issue
Block a user