Skip to content

Commit

Permalink
Merge pull request #279 from stride3d/master
Browse files Browse the repository at this point in the history
Initiating deployment of latest docs updates to staging
  • Loading branch information
VaclavElias authored May 5, 2024
2 parents 9005870 + 951811f commit 992050f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/common-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@ name: Common Setup for Stride Documentation

on:
workflow_call:
outputs:
stride_docs_path:
description: "The checkout path of the Stride Docs repository"
value: ${{ jobs.setup.outputs.stride_docs_path }}
stride_path:
description: "The checkout path of the Stride repository"
value: ${{ jobs.setup.outputs.stride_path }}

jobs:
setup:
runs-on: windows-2022

outputs:
dotnet-version: '8.x'
stride-docs-path: 'stride-docs'
stride-path: 'stride'

Expand Down Expand Up @@ -39,4 +45,4 @@ jobs:
# 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.76.0
run: dotnet tool update -g docfx --version 2.76.0
4 changes: 2 additions & 2 deletions .github/workflows/stride-docs-staging-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
steps:
- name: Build documentation
run: ./build-all.bat
working-directory: stride-docs
working-directory: ${{ needs.setup.outputs.stride_docs_path }}

- name: Compress artifact
run: 7z a -r DocFX-app.zip ./stride-docs/_site/*
run: 7z a -r DocFX-app.zip ./${{ needs.setup.outputs.stride_docs_path }}/_site/*

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 992050f

Please sign in to comment.