无法使用Github操作部署到Github页面-Blazor webassembly
我想我已经遵循了所有步骤,使用从中找到的GitHub操作在GitHub页面上部署Blazor webassembly 但它在无法使用Github操作部署到Github页面-Blazor webassembly,blazor,github-actions,Blazor,Github Actions,我想我已经遵循了所有步骤,使用从中找到的GitHub操作在GitHub页面上部署Blazor webassembly 但它在部署到Github页面步骤失败 设置作业(通过) 运行操作/checkout@v2(通过) 安装程序.NET核心(已通过) 使用dotnet发布(已通过) 部署到Github页面(失败) 运行后操作/checkout@v2(通过) 完成作业(通过) 下面是错误描述 ❓ FAQ/Wiki: https://github.com/JamesIves/github-p
部署到Github页面
步骤失败
- 设置作业(通过)
- 运行操作/checkout@v2(通过)
- 安装程序.NET核心(已通过)
- 使用dotnet发布(已通过)
- 部署到Github页面(失败)
- 运行后操作/checkout@v2(通过)
- 完成作业(通过)
❓ FAQ/Wiki: https://github.com/JamesIves/github-pages-deploy-action/wiki
You need to create a branch named development
from master
branch and set development
branch as default
branch in your repository settings.
This is because your gh-pages.yml
files has BASE_BRANCH: development
and BRANCH: master
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BASE_BRANCH: development # The branch the action should deploy from.
BRANCH: master # The branch the action should deploy to.
FOLDER: build/wwwroot # The folder the action should deploy.
SINGLE_COMMIT: true
❓ 常见问题/维基:https://github.com/JamesIves/github-pages-deploy-action/wiki
您需要从master
branch创建名为development
的分支,并在存储库设置中将development
branch设置为default
branch
这是因为您的gh pages.yml
文件具有BASE\u分支:development
和BRANCH:master
因此,部署将从开发
分支机构到主分支机构
分支机构请求