File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- echo Deploy demo to GitHub Pages & publish library to npm - INIT
3
+ echo " Deploy demo to GitHub Pages and publish library to npm - INIT"
4
4
5
5
# only deploy tags
6
6
if [ -z " $TRAVIS_TAG " ]; then
7
7
8
- echo Deploy demo to GitHub Pages & publish library to npm - SKIP
8
+ echo " Deploy demo to GitHub Pages and publish library to npm - SKIP"
9
9
10
10
else
11
11
12
- echo Deploy demo to GitHub Pages & publish library to npm - START
12
+ echo " Deploy demo to GitHub Pages and publish library to npm - START"
13
13
14
14
# go to the directory which contains build artifacts and create a *new* Git repo
15
15
# directory may be different based on your particular build process
32
32
# tokens GH_TOKEN and GH_REF will be provided as Travis CI environment variables
33
33
git push --force --quiet " https://${GH_TOKEN} @${GH_REF} " master:gh-pages > /dev/null 2>&1
34
34
35
- echo Deploy demo to GitHub Pages - SUCCESS
35
+ echo " Deploy demo to GitHub Pages - SUCCESS"
36
36
37
37
38
38
# Publish lib to npm
39
- echo Publish elements library to npm - START
39
+ echo " Publish elements library to npm - START"
40
40
41
41
cd ..
42
42
cd elements
43
+
43
44
npm publish ./dist --access public"
44
45
45
- echo Publish elements library to npm - SUCCESS
46
+ echo " Publish elements library to npm - SUCCESS"
46
47
47
48
fi
48
49
49
- echo Deploy to demo GitHub Pages - Finish
50
+ echo " Deploy to demo GitHub Pages - Finish"
You can’t perform that action at this time.
0 commit comments