首页 > 解决方案 > 使用 angular-cli-ghpages 部署 Scully 静态文件夹?

问题描述

Scully将项目生成到project/dist/static.

我们如何部署它而不是project/dist/project-name使用angular-cli-ghpages

标签: angulargithub-pagesangular-cli-ghpagesscullyscullyio

解决方案


如果你想在 github 页面上部署你的 scully 静态站点,最简单的方法是使用这个 Github 操作:

https://github.com/marketplace/actions/scully-publish

以下是如何使用它的示例:

https://github.com/d-koppenhagen/d-koppenhagen.de/blob/master/.github/workflows/nodejs.yml#L21-L25


推荐阅读