From fe2f521c08d583a9a84760aeda0d7b93d8f64e8f Mon Sep 17 00:00:00 2001 From: AlanZhao Date: Mon, 31 Jan 2022 16:47:28 +0800 Subject: [PATCH] Update config.sample.toml Provide more comment information for "config.sample.toml" --- config.sample.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config.sample.toml b/config.sample.toml index dee961c..75cd868 100644 --- a/config.sample.toml +++ b/config.sample.toml @@ -1,10 +1,20 @@ # branch = "master" + +# "pat" enter the Github token that has the "repo" permission # Get token from https://github.com/settings/tokens pat = "ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" + +# The file name formatting template was uploaded rename = "{year}/{month}/upgit_{year}{month}{day}_{unix_ts}{ext}" + +# The name of your public Github repository +# Because we use the "raw.githubusercontent.com", so Gtihub warehouse has to be public. repo = "repo-name" + +# "username" enter your Github username username = "username" +# If your network access to Github is abnormal or sluggish, you can try the following CDN acceleration. # [replacements] # "raw.githubusercontent.com" = "cdn.jsdelivr.net/gh" # "/master" = "@master"