Skip to content

Commit 28e5e22

Browse files
committed
Add a stage to the Travis build for w.org deployment when new versions are tagged.
1 parent f2eebfb commit 28e5e22

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.travis.yml

+17
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,23 @@ env:
2626
# WP nightly:
2727
- WP_VERSION=nightly
2828

29+
jobs:
30+
include:
31+
- stage: deploy
32+
before_script:
33+
- npm install -g grunt-cli
34+
- npm install
35+
- gem install sass
36+
- grunt --version
37+
- git status
38+
script: skip
39+
deploy:
40+
- provider: script
41+
skip_cleanup: true
42+
script: grunt deploy:ci
43+
on:
44+
tags: true
45+
2946
matrix:
3047
fast_finish: true
3148

0 commit comments

Comments
 (0)