Skip to content
arrow-up-circle

GitHub Action

Synology Upload Action

v1.0.0 Latest version

Synology Upload Action

arrow-up-circle

Synology Upload Action

Upload file to Synology Nas

Installation

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

              

- name: Synology Upload Action

uses: bungabear/[email protected]

Learn more about this action in bungabear/synology_upload_action

Choose a version

Run

name: Test CI

on:
  push:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Make test file
      run: echo "${{ github.sha }}" > test.txt
    - name: Test upload
      uses: bungabear/synology_upload_action@master
      with:
        host:  ${{ secrets.synologyHost }}
        username:  ${{ secrets.synologyUsername }}
        password:  ${{ secrets.synologyPassword }}
        filepath: test.txt
        filename:  synology_upload_test.txt
        uploadpath: /home/share
        overwrite: true
        createparent: true

How to build

npm install
npx webpack