leconio / synology-uploader-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fork from: https://github.com/Paul-DS/synology-upload-file-request

Usage:

  1. create a file request from you synology file station
  2. add yml to your workflow
      - name: Synology Uploader
        uses: leconio/synology-uploader-action@v1.0.4
        with:
          host: ${{secrets.NAS_HOST}}
          sharing_id: ${{secrets.NAS_SHAREID}}
          uploader_name: ${{secrets.NAS_NAME}}
          password: ${{secrets.NAS_PASSWD}}
          file: 'hello.txt'

Options

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

About


Languages

Language:Shell 81.6%Language:Dockerfile 18.4%