mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-02 03:57:38 +08:00
chore: move the gh-pages files
This commit is contained in:
parent
5718786042
commit
817691a24e
12
.github/workflows/gh-pages.yml
vendored
12
.github/workflows/gh-pages.yml
vendored
@ -28,22 +28,18 @@ jobs:
|
||||
- name: Publish Docs 🎉
|
||||
run: |
|
||||
npm install
|
||||
cd site/AntBlazor.Docs.ClientApp/wwwroot
|
||||
rm index.html
|
||||
cp -r gh-pages/* gh-pages/.nojekyll ./
|
||||
rm -r gh-pages
|
||||
cd ../../../
|
||||
cp -rf scripts/gh-pages/* scripts/gh-pages/.nojekyll scripts/gh-pages/.spa ./site/AntBlazor.Docs.ClientApp/wwwroot
|
||||
dotnet build
|
||||
dotnet publish -c Release -o tmp
|
||||
dotnet publish -c Release -o cargo
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@releases/v3
|
||||
with:
|
||||
ACCESS_TOKEN: ${{ secrets.GH_PUSH_TOKEN }}
|
||||
BRANCH: gh-pages
|
||||
FOLDER: tmp/wwwroot
|
||||
FOLDER: cargo/wwwroot
|
||||
|
||||
- name: Package Nightly Nuget ✨
|
||||
- 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
|
||||
|
||||
|
7
.github/workflows/pr-checks.yml
vendored
7
.github/workflows/pr-checks.yml
vendored
@ -24,10 +24,5 @@ jobs:
|
||||
- name: Check Building
|
||||
run: |
|
||||
npm install
|
||||
cd site/AntBlazor.Docs.ClientApp/wwwroot
|
||||
rm index.html
|
||||
cp -r gh-pages/* gh-pages/.nojekyll ./
|
||||
rm -r gh-pages
|
||||
cd ../../../
|
||||
dotnet build
|
||||
dotnet publish -c Release -o tmp
|
||||
dotnet publish -c Release
|
||||
|
2
scripts/gh-pages/.spa
Normal file
2
scripts/gh-pages/.spa
Normal file
@ -0,0 +1,2 @@
|
||||
This file is used to enable gitee pages' spa mode.
|
||||
https://gitee.com/help/articles/4237
|
Loading…
Reference in New Issue
Block a user