-
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.
Merge pull request #36 from ShaunLawrie/prerelease
Update doc site with live examples
- Loading branch information
Showing
195 changed files
with
6,719 additions
and
1,679 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 @@ | ||
*.cast binary |
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 |
---|---|---|
|
@@ -18,6 +18,8 @@ jobs: | |
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Version Bump | ||
shell: pwsh | ||
env: | ||
|
@@ -60,6 +62,8 @@ jobs: | |
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Version Bump and Publish | ||
shell: pwsh | ||
env: | ||
|
@@ -107,6 +111,22 @@ jobs: | |
# Create a gh release for it | ||
gh release create "v$newVersion-$newPrereleaseTag" --target prerelease --generate-notes --prerelease | ||
# Publish prerelease docs | ||
Install-Module HelpOut -Scope CurrentUser -RequiredVersion 0.5 -Force | ||
& .\PwshSpectreConsole.Docs\src\powershell\UpdateDocs.ps1 -NonInteractive -Branch "prerelease" | ||
git config --global user.name 'Shaun Lawrie (via GitHub Actions)' | ||
git config --global user.email '[email protected]' | ||
git add PwshSpectreConsole.Docs/src/content || true | ||
git commit -m "[skip ci] Update docs" || true | ||
git push || true | ||
- 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=prerelease | ||
- name: Upload Snapshots | ||
if: failure() | ||
uses: actions/upload-artifact@v4 | ||
|
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.