Skip to content

Commit

Permalink
Merge branch 'main' into prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie authored Mar 20, 2024
2 parents d08488a + 0369a24 commit 6462bed
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,29 @@ on:
branches:
- main

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
if: github.repository_owner == 'ShaunLawrie'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build Docs
shell: pwsh
run: |
$ErrorActionPreference = "Stop"
$docsProjectRoot = "./PwshSpectreConsole.Docs"
npm ci --prefix $docsProjectRoot
if ($LASTEXITCODE -ne 0) {
throw "Failed to install npm dependencies"
}
npm run build --prefix $docsProjectRoot
if ($LASTEXITCODE -ne 0) {
throw "Failed to run npm build"
}
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion PwshSpectreConsole/PwshSpectreConsole.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'PwshSpectreConsole'

# Version number of this module.
ModuleVersion = '1.11.0'
ModuleVersion = '1.10.2'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down

0 comments on commit 6462bed

Please sign in to comment.