-
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 #35 from ShaunLawrie/update-docs-site
Update docs site
- Loading branch information
Showing
192 changed files
with
6,806 additions
and
1,760 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 merge=ours linguist-generated=true |
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 |
---|---|---|
|
@@ -107,6 +107,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 -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 || 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 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.