Skip to content
box

GitHub Action

Synology Uploader

v1.0.4 Latest version

Synology Uploader

box

Synology Uploader

Upload artifacts to your Synology FileStation

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Synology Uploader

uses: leconio/[email protected]

Learn more about this action in leconio/synology-uploader-action

Choose a version

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/[email protected]
        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