mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 14:59:45 +00:00
17 lines
453 B
YAML
17 lines
453 B
YAML
git:
|
|
depth: false
|
|
|
|
env:
|
|
- HUGO_VERSION="0.48"
|
|
- HUGO_VERSION="0.49.2"
|
|
|
|
install:
|
|
- wget -q https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
|
|
- tar xf hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
|
|
- mv hugo ~/bin/
|
|
- gem install html-proofer
|
|
|
|
script:
|
|
- cd exampleSite
|
|
- HUGO_THEME=hugo-theme-introduction hugo --themesDir ../.. -v
|
|
- htmlproofer public --check-html --disable-external
|