-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #149 from stride3d/master
Releasing latest updates
- Loading branch information
Showing
11 changed files
with
95 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
.github/workflows/stride-docs-release-fast-track-azure.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy | ||
# More GitHub Actions for Azure: https://github.com/Azure/actions | ||
|
||
# The Fast Track skips creating artifacts and compressing them | ||
name: Build Stride Docs (Fast Track) for Azure Web App Release 🚀 | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-deploy: | ||
# Run this job only if the repository is 'stride3d/stride-docs' | ||
if: github.repository == 'stride3d/stride-docs' | ||
runs-on: windows-2022 | ||
environment: | ||
name: 'Production' | ||
|
||
steps: | ||
# Setup .NET SDK | ||
- name: Dotnet Setup | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 6.x | ||
|
||
# Checkout the Stride Docs repository from the branch that triggered the workflow | ||
- name: Checkout Stride Docs | ||
uses: actions/checkout@v3 | ||
with: | ||
path: stride-docs | ||
lfs: true | ||
|
||
# Checkout the Stride repository from the default branch | ||
- name: Checkout Stride (note the LFS) | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: stride3d/stride | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
path: stride | ||
lfs: true | ||
|
||
- name: Install DocFX | ||
# This installs the latest version of DocFX and may introduce breaking changes | ||
# run: dotnet tool update -g docfx | ||
# This installs a specific, tested version of DocFX. | ||
run: dotnet tool update -g docfx --version 2.70.4 | ||
|
||
- name: Build documentation | ||
run: ./build-all.bat | ||
working-directory: stride-docs | ||
|
||
- name: Deploy to Azure Web App | ||
id: deploy-to-webapp | ||
uses: azure/webapps-deploy@v2 | ||
with: | ||
app-name: 'stride-doc' | ||
slot-name: 'Production' | ||
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_4803638D673FA67D0C8650F34C4FA9D1 }} | ||
package: ./stride-docs/_site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
- name: 📖 Stride Docs | ||
href: index.md | ||
- name: 📚 Manual | ||
href: manual/ | ||
homepage: manual/index.md | ||
|