Skip to content

quick-lint/sftp-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sftp-upload

GitHub Action to upload files to an SFTP server.

Warning: This Action is designed for use in quick-lint's infrastructure only. No stability is guaranteed or implied. Use at your own risk.

Updating dependencies

After changing package.json, run the following command:

yarn install --ignore-optional

Commit all changes to node_modules/, including added and removed files.

Manual testing

You can test locally from a Linux machine by running the following command from your Bash or Zsh shell:

env \
    INPUT_HOST=c.quick-lint-js.com \
    INPUT_LOCAL-FILE-GLOBS=README.md \
    INPUT_PRIVATE-KEY="$(cat ~/.ssh/id_rsa)" \
    INPUT_REMOTE-DIRECTORY=/var/www/c.quick-lint-js.com/sftp-upload-test/ \
    INPUT_USER=github-ci \
    node index.js

About

GitHub Action to upload files to an SFTP server

Resources

License

Stars

Watchers

Forks

Packages

No packages published