Testing CI (4)

This commit is contained in:
lostinlight 2022-01-15 20:15:01 +03:00
parent b4dc181e4d
commit 021d239ce6
1 changed files with 2 additions and 5 deletions

View File

@ -6,12 +6,9 @@ pipeline:
image: node:lts-alpine image: node:lts-alpine
commands: commands:
- npm install gulp -g - npm install gulp -g
- ls -l
- ls -l ./themes/starter
- which gulp
- echo $PATH
- npm install hexo-cli -g - npm install hexo-cli -g
- gulp build --cwd ./themes/starter # TODO: figure out why Gulp fails with: Local gulp not found in /woodpecker/src/codeberg.org/fediverse/fediparty/themes/starter
#- gulp build --cwd ./themes/starter
- hexo generate - hexo generate
- git checkout pages - git checkout pages
- find -maxdepth 1 ! -name .git ! -name .domains ! -name public ! -name . -exec rm -rf {} \; - find -maxdepth 1 ! -name .git ! -name .domains ! -name public ! -name . -exec rm -rf {} \;