Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

Commit

Permalink
Set up auto-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed May 24, 2018
1 parent 5343811 commit cfa95d2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
spec.html
.travis.yml

package-lock.json

Expand Down
Binary file added .travis-github-deploy-key.enc
Binary file not shown.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: node_js
after_success:
- $(npm bin)/set-up-ssh --key "${encrypted_4f674fc13bbf_key}" --iv "${encrypted_4f674fc13bbf_iv}"
--path-encrypted-key .travis-github-deploy-key.enc
- $(npm bin)/update-branch --commands 'npm run build' --commit-message "Update gh-pages
@ ${TRAVIS_COMMIT}" --directory 'dist' --distribution-branch 'gh-pages' --source-branch
'master'
branches:
only:
- master
env:
global:
secure: uM7xiej3qeRMbce4Z2tpVTaYVDcRR89qGy83BiV9AquB5VjDVEOnYxzUKBZTbCGqpI9ZJhwCq/fyn5hZZbBZS++JlfBEsPBdUzhm4M6bQxHgyGSzaPjWUEjLEZyhBORAwXQgf6w15bgmUKNAjrwIoN54KDRJ9SPgolnM5pqXS1wIzniYFEYjEw3XAnYoAqxQqDwS708HxUFemacfAo5SqF5gwnHfBQZBDrEJPAWF4JL8sU8TC68ONTaKnAlMFph6mqasiDskONXna6e7IfvhoFwihppAa/Y29C4hilYFBz9lc72CpRr7txIGRMKeQV5rDC7ANFRIhFRnRdL7FgbKajbb/0hHGPPkcyrhbKYXAn/enyW2SX41mZYiC767aDg/nrElpOBpkzAb8gZV0ifwgBkwrYM233CRjZvx7TtIUAuBMrdgwRqLAF4Dtlpln9g+sHZllUCcrckR/XopfemE2rQWyr1hfrUdrqbwY5UznuG+exioCQo4+iMqXz2jVVo/YFIjreNDqumdZ5hg13QhRdDargjhwoPY/Kj1zDGj3ttksD253snKR9lS2dWjrrHc/GtkTY0TXEhl2RT8J9e34xztkhSfcHWHbqs6+ZelMG+ut8ToSWUlsoXg6W7ny9lLzl8ezH0oLIDwQlBkHKw/PFDcpyXfMP3mdGIAzKilDrs=

0 comments on commit cfa95d2

Please sign in to comment.