This commit is contained in:
neko 2024-08-07 11:53:59 +00:00
parent 970ab7ba2e
commit 13c0078d69
1 changed files with 11 additions and 0 deletions

View File

@ -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