Rclone-Auto-Refresh-Token

✨ RCLONE AUTO REFRESH TOKEN Refresh Token Status


TABLE OF CONTENTS


📃 HOW TO USE

1️⃣ HAVE YOUR OWN REPO

2️⃣ CREATE RCLONE.CONF

OPTION 1: Edit directly

Should use only for private repo

OPTION 2: Use secret

3️⃣ SELECT REMOTES TO REFRESH TOKENS

If you don’t do this step, it will automatically extract all your remotes (Yes including combine, shared drive which may cause the job to fail). Skip this step if you ensure that all of your remotes are suppported by the script.

Ex of `rclone.conf` ```rclone.conf [Gugu drai] <-- Take note of this remote name type = drive scope = drive token = {...} ... ```
Content format: ```REMOTES.txt Gugu drai 1Drai ... GGPhotosMain Oops ```

Note: Don’t keep any line break, don’t keep space at the end of each line 🥴

OPTION 1: Edit directly

OPTION 2: Use either Secret or Variable

4️⃣ SET FEATURE ON / OFF (optional)

Go to your Refresh Token.yml file and edit lines in env:

NAME OF VARIABLE DESCRIPTION HOW TO USE DEFAULT VALUE
PRINT_LOG After the running the script, it will print out the log to Github Action log Set value in Refresh Token.yml file false
TELEGRAM Send the log as message to your Telegram Set value in Refresh Token.yml file false

5️⃣ SETUP SEND LOG TO TELEGRAM (optional)


🏃‍♂️ RUN

The workflow will automatically run when you do either:


📝 NOTES