summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/fork-awesome/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'pyssg.xyz/live/static/fork-awesome/.travis.yml')
-rw-r--r--pyssg.xyz/live/static/fork-awesome/.travis.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/pyssg.xyz/live/static/fork-awesome/.travis.yml b/pyssg.xyz/live/static/fork-awesome/.travis.yml
new file mode 100644
index 0000000..6e2a95d
--- /dev/null
+++ b/pyssg.xyz/live/static/fork-awesome/.travis.yml
@@ -0,0 +1,31 @@
+language:
+ - ruby
+ - node_js
+
+install:
+ - bundle install
+ - npm install
+
+script:
+ - npm run build
+
+deploy:
+ - provider: pages
+ skip-cleanup: true
+ github-token: $GITHUB_TOKEN
+ keep-history: true
+ local-dir: _site
+ on:
+ branch: master
+ tags: true
+ - provider: npm
+ email: $NPM_EMAIL
+ api_key: $NPM_TOKEN
+ on:
+ branch: master
+ tags: true
+
+# blocklist
+branches:
+ except:
+ - gh-pages