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
- Host: GitHub
- URL: https://github.com/quick-lint/sftp-upload
- Owner: quick-lint
- License: gpl-3.0
- Created: 2021-01-19T07:22:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T02:53:14.000Z (over 3 years ago)
- Last Synced: 2024-05-01T09:43:16.805Z (about 2 years ago)
- Language: JavaScript
- Size: 5.17 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
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
```