ftp-deploy | Deploy websites over FTP with one command line | FTP library
kandi X-RAY | ftp-deploy Summary
kandi X-RAY | ftp-deploy Summary
Syncs a local folder with a remote folder over ftp.
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 ftp-deploy
ftp-deploy Key Features
ftp-deploy Examples and Code Snippets
Community Discussions
Trending Discussions on ftp-deploy
QUESTION
i'm using SamKirkland/FTP-Deploy-Action to deploy my files to my server,
but the key 'exclude' doesn't actually exclude Workspace and my resources folders, it works fine for .git and .github folders.(i guess the problem is with exclude key's value syntax but i couldn't find the right one for my folder.)
also i don't want to use .gitignore bc i want my resources folder in my repository.
ANSWER
Answered 2021-May-16 at 14:54the problem was with github website.
github's action's status turned incident!
i should've checked out github status page.
QUESTION
I am trying to simply run webpack serve -c myconfig.js
, but I keep getting these errors:
ANSWER
Answered 2021-Apr-24 at 18:10The problem was in
QUESTION
I am using Github as my source control, and using Github Actions as my CI/CD solution. I have a dedicated Windows Server somewhere, which accepts the published version of my repo.
I have a Github Action, which does Built, Test, Publish and Deploy (using FTP). I am not convinced with the "Deploy" idea. for example lets say my website has a huge codebase, and then FTPing everytime when we make a commit (Push) is NOT really a productive idea (i am publishing the published directory...not the Source Code to my server). Sometimes FTPing simply does not work, due to IIS Locking the files. what is the most reliable way to publish/deploy files to a remote server using Github Actions (or any other provider).
below is my sample Yaml file...
...ANSWER
Answered 2020-Jul-01 at 00:31Since you have a dedicated server for your application, I would recommend using a Github self-hosted runner.
You install the runner service on your server and then the Github CI/CD build process runs on your dedicated server.
The build script can build your app then stop the IIS site locally which prevents locked files.
After that it can copy (or robocopy) the new build into the app folder.
Gitlab also has self-hosted runners.
QUESTION
I have a custom Jekyll site which is working fine on local.
I would like to deploy my builded site to my hosting environment. Via FTP with github actions is working fine with this: https://github.com/SamKirkland/FTP-Deploy-Action
This is the FTP workflow:
...ANSWER
Answered 2020-Oct-17 at 14:33This is what I currently use, which I found from The World According to Mike Blog.
This uses ncftp which allows you to upload files via ftp easily.
QUESTION
As the title says, deploying to FTP server isn't working for me from a Github Action. I've tried using a couple of actions to accomplish this (FTP-Deploy and ftp-action), but FTP-Deploy just kept running with sporadic
curl: (7) Failed to connect to ftpservername.com port 21: Connection timed out
messages and ftp-action kept running without any output. Note: The server is available, I connected and transferred some files using Filezilla without any issues.
After that I tried using lftp, this is the command I used on a local Ubuntu machine
lftp -c "open -u username,password ftpservername.com; mirror -R locfolder remote/remotefolder"
and the file transfer worked, but when used in a Github Action it produced this output:
---- Connecting to ftpservername.com (123.456.789.123) port 21
mkdir `remote/remotefolder' [Connecting...]
**** Socket error (Connection timed out) - reconnecting
---- Closing control socket
---- Connecting to ftpservername.com (123.456.789.123) port 21
I tried setting both ftp:ssl-allow
and ssl:verify-certificate
to false, but this did not produce any results. Also, I do not have access to the server, so I can't check the server logs.
This is the workflow file:
...ANSWER
Answered 2020-Oct-21 at 13:21Found the issue, the hosting service was blocking the IP address (as it was an IP address outside of the country). After setting up a self-hosted runner and whitelisting the IP of the runner everything works fine.
QUESTION
I want to use Github actions to transfer files to a remote server via SFTP (only option for this server) when I push up to Github.
I am using this Action https://github.com/marketplace/actions/ftp-deploy
I have created a file in my repo in .github/workflows/main.yml
and I have added:
ANSWER
Answered 2020-Sep-02 at 23:56I was able to get it working on my own repo. I think the issue may be possibly on how your secrets were setup. That error usually shows when required parameters of a github action were not provided so curious if the keys are different or whether they were saved as empty. I would delete FTP_SERVER
secret and create it again to be sure.
QUESTION
How can I exclude folders or files from being uploaded to the server?
I would like to ignore the "src" folder and package.json.
...ANSWER
Answered 2019-Jul-21 at 08:57You can try this
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
QUESTION
I have recently started working with CI using Bitbucket Pipelines. I have managed to connect using my SFTP server, creating API public & private keys and adding them to my server using SSH.
Now, when I run the build it will upload all my files to the correct folder. But I am having a problem that running a package.json command from the script "yarn build" is doing absolutely nothing.. nothing is in the root folder.
What am I missing or doing wrong? Locally everything works just fine same goes for uploading files.
My bitbucket-pipeline.yaml:
...ANSWER
Answered 2019-Jul-22 at 20:55Your pipelines steps are in wrong order.
Bitbucket pipelines are executed in the cloud which means, you have to build your project first, than copy everything to the server (since it cant really copy and build your project on your server)
For your case, this should be correct solution
QUESTION
I am making edits to my JS files but my gulp task is not updating them live or writing new code. It did used to work but all of a sudden it has stopped.
I tried upgrading the gulp to version 4 but that just created more issues and didn't fix the fact the JS wasn't working.
Added jshint to see if that threw any errors but seems fine too.
...ANSWER
Answered 2019-May-03 at 10:51So this was me being silly, I didn't notice the stripdebug module which is was my alert/console.log wasn't working!
Rookie error
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ftp-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