GitHub Action
Synology Upload Action
v1.0.0
Latest version
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
npm install
npx webpack