mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-14 13:54:50 +00:00
29 lines
594 B
YAML
29 lines
594 B
YAML
language: node_js
|
|
- "node"
|
|
|
|
stages:
|
|
- name: install
|
|
if: branch = "master"
|
|
- name: test
|
|
- name: pre-build
|
|
if: branch = "master"
|
|
- name: build
|
|
if: branch = "master"
|
|
- name: deploy
|
|
if: branch = "master"
|
|
|
|
jobs:
|
|
include:
|
|
- stage: install
|
|
script: npm --force install tiddlywiki
|
|
- stage: test
|
|
script: ./bin/test.sh
|
|
- stage: pre-build
|
|
script: skip
|
|
- stage: build
|
|
script: ./bin/build-site.sh
|
|
env:
|
|
- TW5_BUILD_TIDDLYWIKI = ./node_modules/tiddlywiki/tiddlywiki.js
|
|
- stage: deploy
|
|
script: ./bin/deploy-site.sh
|