mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-17 22:29:19 +00:00
21 lines
373 B
YAML
21 lines
373 B
YAML
|
|
image: node:8.9
|
|
|
|
pages:
|
|
script:
|
|
- npm install
|
|
- npm install gulp -g
|
|
- gulp build --cwd ./themes/starter
|
|
- ./node_modules/hexo/bin/hexo generate
|
|
- find public -type f -iregex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -execdir gzip -f --keep {} \;
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
cache:
|
|
paths:
|
|
- node_modules
|
|
key: project
|
|
|
|
only:
|
|
- master
|