diff --git a/.github/workflows/react_on_all_commits_but.yml b/.github/workflows/react_on_all_commits_but.yml index e0b40d7..4315e2c 100644 --- a/.github/workflows/react_on_all_commits_but.yml +++ b/.github/workflows/react_on_all_commits_but.yml @@ -31,12 +31,14 @@ jobs: - name: Build README.md if: steps.check_prefix.outputs.prefix_found == '1' run: | + tmpfile=$(mktemp) + pushd build npm ci - node build_readme.js > ../tmp.md + node build_readme.js > "$tmpfile" popd - mv tmp.md README.md + mv "$tmpfile" README.md - name: Push the changes uses: EndBug/add-and-commit@v9 diff --git a/bookmarklets/explain_xkcd.js b/bookmarklets/explain_xkcd.js index df10dff..9a7caef 100644 --- a/bookmarklets/explain_xkcd.js +++ b/bookmarklets/explain_xkcd.js @@ -8,7 +8,7 @@ const regex = /https:\/\/xkcd\.com\/(\d+)\//; const match = url.match(regex); if (match) { - window.location.href = `https://www.explainxkcd.com/wiki/index.php/${match[1]}`; + window.location.href = `https://ww.explainxkcd.com/wiki/index.php/${match[1]}`; } else { alert('That is not a XKCD page'); }