upd ci
This commit is contained in:
parent
970ab7ba2e
commit
13c0078d69
|
@ -8,9 +8,20 @@ variables:
|
||||||
DEST_DIRECTORY: latest/hugo
|
DEST_DIRECTORY: latest/hugo
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- test
|
||||||
- build
|
- build
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- apk add --no-cache go curl bash nodejs
|
||||||
|
- hugo mod get -u
|
||||||
|
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- hugo
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
|
||||||
|
|
||||||
build:
|
build:
|
||||||
before_script:
|
before_script:
|
||||||
- hugo version
|
- hugo version
|
||||||
|
|
Loading…
Reference in New Issue