🐛 now, pulls first in Gieta Action
All checks were successful
Update RSS / update-rss (push) Successful in 5m18s
All checks were successful
Update RSS / update-rss (push) Successful in 5m18s
because of how it works now receiving error, see for example: https://gitea.jaandrle.cz/jaandrle/pagenotfound-cli/actions/runs/8#jobstep-4-8
This commit is contained in:
1
cli.mjs
1
cli.mjs
@ -32,6 +32,7 @@ $.api()
|
||||
.command("pull", "Update article list")
|
||||
.option("--git", "Update git repository")
|
||||
.action(async function pull({ git: is_git= false }){
|
||||
if(is_git) s.run`git pull --force`;
|
||||
const { changed }= await sitemap().then(toRSS);
|
||||
echo("Changed files:", changed.length ? changed.join(", ") : "—");
|
||||
if(is_git) gitCommit(changed, "pull");
|
||||
|
Reference in New Issue
Block a user