grunt-sftp-deploy | Grunt task for code deployment over sftp | DevOps library
kandi X-RAY | grunt-sftp-deploy Summary
kandi X-RAY | grunt-sftp-deploy Summary
Grunt task for code deployment over sftp
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of grunt-sftp-deploy
grunt-sftp-deploy Key Features
grunt-sftp-deploy Examples and Code Snippets
Community Discussions
Trending Discussions on grunt-sftp-deploy
QUESTION
I have written a small Vue app and have been looking for a nice way to automate its deployment, i.e. call lint -> test -> build -> upload to some web space (stage and /or production) (sftp). Basically a simple CI/CD pipeline.
I looked a task runners such as grunt (seems to be a bit outdated and the docs didn't help me much) and gulp (see also this answer) and also thought of defining a npm script. CI tools such as Jenkins seem to be a bit oversized with some work to setup.
The npm script would probably be the simples solution, especially as I could simply chain lint / test / build:
...ANSWER
Answered 2019-Aug-04 at 17:07The easiest way to deploy static site is to use pages.github.com - just push your build in github repo.
Another simple (Mega simple) service is netlify - just install it with npm install netlify-cli -g
. Details in docs
But if you need better CI you don't need to search "vue deploy', you need any CI service from github, bitbucket, gitlab, etc. For example - easy introduction by circleci
Back to your question - do you use linux/mac or windows?
It's very simple on linux, just use command like scp from/local/dir to@remote/dir
. On windows you maybe should try some nodejs alternatives like snippet from this answer
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install grunt-sftp-deploy
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page