chore: deploy docs to ant-design-blazor.github.io

This commit is contained in:
ElderJames 2020-04-28 13:39:41 +08:00
parent 22a9e0b92a
commit 56cc0cc62f

View File

@ -14,7 +14,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup .NET Core - name: Setup .NET Core
uses: actions/setup-dotnet@v1 uses: actions/setup-dotnet@v1
@ -39,6 +42,14 @@ jobs:
BRANCH: gh-pages BRANCH: gh-pages
FOLDER: cargo/wwwroot 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 📦 - name: Package Nightly Nuget 📦
run: | run: |
dotnet pack components/AntBlazor.csproj /p:PackageVersion=$Version-nightly-$GITHUB_RUN_ID -c Release -o pack-$GITHUB_RUN_ID --no-build --no-restore dotnet pack components/AntBlazor.csproj /p:PackageVersion=$Version-nightly-$GITHUB_RUN_ID -c Release -o pack-$GITHUB_RUN_ID --no-build --no-restore