Skip to content

Setup Rclone

Actions
Unofficial Rclone action
v1
Latest
Star (5)

Tags

 (1)

Setup Rclone

Unofficial Rclone action

Usage

Pre-requisites

Create a workflow .yml file in your repositories .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file.

Inputs

Field Description
github-token Provide an allow update secret token
config Read config from secret
config-secret-name Save config to secret

Example workflow

name: Release

on:
  push:
    branches: [master]

jobs:
  build:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
      - uses: NiceLabs/rclone-action@master
        with:
          github-token: ${{ secrets.SECRET_TOKEN }}
          config: ${{ secrets.RCLONE_CONFIG }}
          config-secret-name: RCLONE_CONFIG
      - name: Upload Pre-built images
        run: rclone copy source:sourcepath dest:destpath
        env:
          RCLONE_CONFIG_PASS: ${{ secrets.RCLONE_CONFIG_PASS }}

License

MIT LICENSE

Setup Rclone is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Unofficial Rclone action
v1
Latest

Tags

 (1)

Setup Rclone is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.