🐛 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:
parent
1b2f55079c
commit
8f0deba912
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");
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pagenotfound-cli",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Utility primary for generating RSS feed for Pagenotfound",
|
||||
"bin": "cli.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user