mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-24 08:38:33 +00:00
Update building of docs (#399)
* Update building of docs Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> * typo Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> * omg js Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> * Add go and hugo mod get Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> --------- Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
parent
1a3e074d3d
commit
c300f75cb4
@ -3,7 +3,7 @@ env:
|
||||
- GITHUB_ORG={{ ( index .Values.labels "github.owner" ) }}
|
||||
- HUGO_VERSION=0.110.0
|
||||
prelude:
|
||||
- zypper ref && zypper in -y git wget tar nodejs-default gzip npm
|
||||
- zypper ref && zypper in -y git wget tar nodejs-default gzip npm go
|
||||
- mkdir /go/src/github.com/${GITHUB_ORG}/ -p
|
||||
- cd /go/src/github.com/${GITHUB_ORG}/ && git clone https://github.com/${GITHUB_ORG}/{{ .Values.name }}.git
|
||||
steps:
|
||||
@ -15,7 +15,7 @@ steps:
|
||||
chmod +x hugo && \
|
||||
mv hugo /usr/bin && \
|
||||
cd /go/src/github.com/${GITHUB_ORG}/kairos-docs && \
|
||||
npm install postcss-cli && \
|
||||
npm run prepare && \
|
||||
npm install autoprefixer postcss-cli postcss && \
|
||||
/usr/bin/hugo mod get && \
|
||||
HUGO_ENV="production" /usr/bin/hugo --gc -b "/local/" -d "/usr/share/doc/kairos"
|
||||
package_dir: "/usr/share/doc/kairos"
|
@ -1,6 +1,6 @@
|
||||
name: "kairos-docs"
|
||||
category: "static"
|
||||
version: "2.1.0"
|
||||
version: "2.1.1"
|
||||
arch: "amd64"
|
||||
labels:
|
||||
github.repo: "kairos-docs"
|
||||
|
Loading…
Reference in New Issue
Block a user