Skip to content

Commit d83e8c2

Browse files
vicperdanaCopilot
andcommitted
fix: docs, VS Code CI, and cleanup improvements
- Fix VSCE_PAT check: use secrets context instead of step-level env (step env not available at if: evaluation time) - Pin microsoft/ps-docs to SHA (was @main, supply chain risk) - Fix site_url in mkdocs.yml to actual published docs URL - Delete inert packages/psdocs/.github/workflows/build.yaml (GitHub ignores workflows outside root .github/workflows/) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5f491e6 commit d83e8c2

4 files changed

Lines changed: 3 additions & 146 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
3333
3434
- name: Generate docs
35-
uses: microsoft/ps-docs@main
35+
uses: microsoft/ps-docs@333fc57dfef2479e0c6457600bb4c7a1316783ba # main
3636
with:
3737
modules: PSDocs,PSDocs.Azure
3838
inputPath: packages/psdocs-azure/templates

.github/workflows/vscode-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
echo "Found VSIX: $VSIX_FILE"
162162
163163
- name: Publish to VS Marketplace (Pre-release)
164-
if: env.VSCE_PAT != ''
164+
if: ${{ secrets.VSCE_PAT != '' }}
165165
working-directory: packages/vscode-extension/out/package
166166
env:
167167
VSCE_PAT: ${{ secrets.VSCE_PAT }}

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
site_name: PSDocs for Azure
2-
site_url: https://github.com/Azure/PSDocs.Azure
2+
site_url: https://azure.github.io/PSDocs.Azure/
33
site_description: Generate documentation from Azure infrastructure as code (IaC) artifacts.
44
site_author: Microsoft
55

packages/psdocs/.github/workflows/build.yaml

Lines changed: 0 additions & 143 deletions
This file was deleted.

0 commit comments

Comments
 (0)