【发布时间】:2020-10-04 10:35:26
【问题描述】:
过去几天我遇到的问题是我无法更新我的 https://filipzafran.github.io/Best-TO-DO-App-in-the-history-of-the-universe/ 网站页面。
虽然 gh-pages 分支已更新为新代码,但仍显示旧代码。
我有: - 删除并再次创建 gh-pages - 推送了一个新的提交 - 与主人重新合并 - 清除浏览器历史记录(捕获) - 阅读众多解决方案
仍然无法让它在我的 gh-pages 网站上发布新代码。 我觉得这可能与解体有关。
我需要重新部署吗? 因为当我这样做时,从主人那里,它给了我一个很长的错误:
redux-todo-step_by_step git:(master) npm deploy
Usage: npm <command>
where <command> is one of:
access, adduser, audit, bin, bugs, c, cache, ci, cit,
clean-install, clean-install-test, completion, config,
create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
edit, explore, fund, get, help, help-search, hook, i, init,
install, install-ci-test, install-test, it, link, list, ln,
login, logout, ls, org, outdated, owner, pack, ping, prefix,
profile, prune, publish, rb, rebuild, repo, restart, root,
run, run-script, s, se, search, set, shrinkwrap, star,
stars, start, stop, t, team, test, token, tst, un,
uninstall, unpublish, unstar, up, update, v, version, view,
whoami
npm <command> -h quick help on <command>
npm -l display full usage info
npm help <term> search for help on <term>
npm help npm involved overview
Specify configs in the ini-formatted file:
/home/ficho/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config
npm@6.14.7 /home/ficho/.nvm/versions/node/v13.8.0/lib/node_modules/npm
Did you mean this?
repo
【问题讨论】:
标签: reactjs git github deployment branch