-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs and actually bump to 0.47
- Loading branch information
1 parent
b16a5ac
commit 4913124
Showing
3 changed files
with
47 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Deploy | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
name: Deploy | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Build Docs | ||
shell: pwsh | ||
run: | | ||
$ErrorActionPreference = "Stop" | ||
& .\PwshSpectreConsole\Build.ps1 | ||
Install-Module HelpOut -Scope CurrentUser -Force | ||
& .\PwshSpectreConsole.Docs\UpdateDocs.ps1 -NonInteractive | ||
git config --global user.name 'Shaun Lawrie (via GitHub Actions)' | ||
git config --global user.email '[email protected]' | ||
git add .\PwshSpectreConsole.Docs\src\content | ||
git commit -m "[skip ci] Update docs" | ||
git push | ||
- name: Deploy | ||
uses: cloudflare/wrangler-action@v3 | ||
with: | ||
apiToken: ${{ secrets.CF_API_TOKEN }} | ||
accountId: ${{ secrets.CF_ACCOUNT_ID }} | ||
workingDirectory: "./PwshSpectreConsole.Docs/dist" | ||
command: pages deploy --project-name pwshspectreconsole --commit-dirty=true --branch=main |
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,5 +1,5 @@ | ||
param ( | ||
[string] $Version = "0.46.0" | ||
[string] $Version = "0.47.0" | ||
) | ||
|
||
function Install-SpectreConsole { | ||
|