mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-11-30 02:58:13 +08:00
chore: deploy docs to ant-design-blazor.github.io
This commit is contained in:
parent
22a9e0b92a
commit
56cc0cc62f
13
.github/workflows/gh-pages.yml
vendored
13
.github/workflows/gh-pages.yml
vendored
@ -14,7 +14,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Setup .NET Core
|
||||
uses: actions/setup-dotnet@v1
|
||||
@ -39,6 +42,14 @@ jobs:
|
||||
BRANCH: gh-pages
|
||||
FOLDER: cargo/wwwroot
|
||||
|
||||
- name: Deploy to Github.io 🚀
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
personal_token: ${{ secrets.GH_PUSH_TOKEN }}
|
||||
external_repository: ant-design-blazor/ant-design-blazor.github.io
|
||||
publish_branch: master
|
||||
publish_dir: ./cargo/wwwroot
|
||||
|
||||
- name: Package Nightly Nuget 📦
|
||||
run: |
|
||||
dotnet pack components/AntBlazor.csproj /p:PackageVersion=$Version-nightly-$GITHUB_RUN_ID -c Release -o pack-$GITHUB_RUN_ID --no-build --no-restore
|
||||
|
Loading…
Reference in New Issue
Block a user