sutty-base-jekyll-theme/.woodpecker.yml

28 lines
927 B
YAML
Raw Normal View History

2021-09-18 02:06:08 +00:00
pipeline:
build:
2021-11-25 22:13:01 +00:00
image: registry.nulo.in/sutty/haini.sh@sha256:b4248b19f94e60ed165a104094cb5852fca536767481a282b3eb869358a1ab0c
2021-09-18 02:06:08 +00:00
commands:
- git branch
- git rm -f assets/js/*
2021-09-18 02:06:08 +00:00
- make yarn hainish="sh -c"
- make webpack hainish="sh -c"
2021-09-18 02:06:08 +00:00
- eval $(ssh-agent -s)
- echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -
2021-09-18 02:06:08 +00:00
- git config user.name Woodpecker
- git config user.email ci@nulo.in
- git remote add nulo ssh://_gitea@nulo.in:420/Sutty/sutty-base-jekyll-theme.git
- git status
2021-09-18 18:50:37 +00:00
- git diff-index --quiet HEAD --ignore-submodules || ( git add assets/js/pack* && git commit assets/js/ _data/assets.json -m "[skip ci] Recompilar JS" && git push -u nulo HEAD:${DRONE_BRANCH} )
2021-09-18 02:06:08 +00:00
secrets:
- ssh_key
when:
path:
include:
- _packs/*
- package.json
- yarn.lock
- webpack.*.js
- .woodpecker.yml