deploy-github-pages:部署到GitHub页面的操作

时间:2021-03-11 08:58:07
【文件属性】:
文件名称:deploy-github-pages:部署到GitHub页面的操作
文件大小:21KB
文件格式:ZIP
更新时间:2021-03-11 08:58:07
Shell 部署GitHub Pages 该操作会将您构建的JS部署到GitHub Pages。 假定您要部署到gh-pages分支上的dist文件夹,但允许进行其他配置。 输入项 remote_name 默认origin main_branch 回购的主要分支。 默认main target_branch 要部署的目标分支。 默认gh-pages build_dir 内置JavaScript的输出目录。 默认dist github_token 需要您的GitHub令牌,可在工作流中以${{ secrets.GITHUB_TOKEN }} 用法示例 uses : helloitsjoe/deploy-github-pages with : github_token : ${{ secrets.GITHUB_TOKEN }} uses : helloitsjoe/deploy-githu
【文件预览】:
deploy-github-pages-main
----build-and-deploy.sh(1016B)
----package.json(417B)
----.github()
--------workflows()
----Dockerfile(100B)
----action.yml(869B)
----src()
--------index.js(107B)
----.gitignore(13B)
----public()
--------index.html(283B)
----README.md(807B)
----yarn.lock(39KB)

网友评论