Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FTP Sync template

Project template with the GitHub Action script for sync of the static folder (./src/remote by default) with the remote host when pushing to the main branch.

Installation

The template requires Node.js v18+ to run. (questionable, because I just have not tested with the older versions, lol)

Place the ftp_push.yaml file into .github/workflows

mkdir -p .github/workflows && mv ftp_push.yaml .github/workflows 

Rename config_sample.js into config.js and provide the server credentials.

mv src/config_sample.js src/config.js

Install the dependencies and run the synchonization script forcibly.

npm i
node src/main.js

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages