Skip to content

GitHub Action wrapper for rclone

License

Notifications You must be signed in to change notification settings

bytro/rclone-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rclone-action

GitHub Action wrapper for rclone.

Usage

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.

Example workflow

name: Release

on: push

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - uses: bytro/rclone-action@v2
      with:
        args: copy dist s3:target
      env:
        RCLONE_CONFIG_S3_TYPE: s3
        RCLONE_CONFIG_S3_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }}
        RCLONE_CONFIG_S3_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS_KEY }}

See the rclone documentation on environment variables for info on remote access configuration and the commands overview for an index of all commands in rclone.

License

The scripts and documentation in this project are released under the MIT License

About

GitHub Action wrapper for rclone

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%