Created
January 4, 2019 01:47
-
-
Save joduplessis/d82a82e48bcb58f314f82596280bb7f6 to your computer and use it in GitHub Desktop.
TravisCI doesn't seem to play too nice with Node - snippet of a Node build & FTP push (hangs). For reference though.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: node_js | |
sudo: false | |
addons: | |
apt: | |
packages: | |
- lftp | |
os: linux | |
node_js: | |
- "9.11.2" | |
branches: | |
only: | |
- master | |
before_script: | |
- npm i | |
script: | |
- npm run build | |
- lftp -u $FTP_USER,$FTP_PASSWORD $FTP_HOST -e "mirror -R -p ./dist/ public_html ; quit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment