An open API service indexing awesome lists of open source software.

https://github.com/quick-lint/sftp-upload

GitHub Action to upload files to an SFTP server
https://github.com/quick-lint/sftp-upload

Last synced: about 1 year ago
JSON representation

GitHub Action to upload files to an SFTP server

Awesome Lists containing this project

README

          

# sftp-upload

GitHub Action to upload files to an SFTP server.

**Warning**: This Action is designed for use in
[quick-lint's infrastructure](https://github.com/quick-lint)
only. No stability is guaranteed or implied. Use at your own
risk.

## Updating dependencies

After changing `package.json`, run the following command:

```bash
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:

```bash
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
```