fork from: https://github.com/Paul-DS/synology-upload-file-request
Usage:
- create a file request from you synology file station
- add yml to your workflow
- name: Synology Uploader
uses: leconio/[email protected]
with:
host: ${{secrets.NAS_HOST}}
sharing_id: ${{secrets.NAS_SHAREID}}
uploader_name: ${{secrets.NAS_NAME}}
password: ${{secrets.NAS_PASSWD}}
file: 'hello.txt'
Parameter | Required | Description |
---|---|---|
host | Required | Host name of the Synology NAS, including the protocol (HTTP/HTTPS) and the port, without trailing slashExamples: http://192.168.0.123:5000, https://www.example.com:1234 |
sharing_id | Required | Sharing ID provided by Synology.Example: if the URL provided is https://www.example.com/sharing/abcdef12, the Sharing ID would be abcdef12 |
password | Optional | The password for the file request, if defined |
file | Required | The file to upload |
uploader_name | Required | Uploader name |