Prechádzať zdrojové kódy

Merge branch 'master' of http://git.onarbooks.com/LosPoulos/mafalda-web

Nik Atlas 6 rokov pred
rodič
commit
aa4e648965
2 zmenil súbory, kde vykonal 29 pridanie a 0 odobranie
  1. 29 0
      .travis.yml
  2. BIN
      travis/deploy_rsa.enc

+ 29 - 0
.travis.yml

@@ -0,0 +1,29 @@
+language: node_js
+node_js:
+- 8
+cache:
+  directories:
+  - node_modules
+  - packages/create-react-app/node_modules
+  - packages/react-scripts/node_modules
+install:
+- npm install
+script:
+- npm run build
+
+addons:
+  ssh_known_hosts: [email protected]
+
+before_deploy:
+- openssl aes-256-cbc -K $encrypted_0e0de6dfeb09_key -iv $encrypted_0e0de6dfeb09_iv -in travis/deploy_rsa.enc -out /tmp/deploy_rsa -d
+- eval "$(ssh-agent -s)"
+- chmod 600 /tmp/deploy_rsa
+- ssh-add /tmp/deploy_rsa
+
+
+deploy:
+  provider: script
+  skip_cleanup: true
+  script: rsync -r --delete-after --quiet $TRAVIS_BUILD_DIR/build/ [email protected]:~/dist/mafalda-web
+  on:
+    branch: master

BIN
travis/deploy_rsa.enc