forked from philosowaffle/peloton-to-garmin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[478] update docs for v4 (philosowaffle#551)
* [478] update docs for v4 * update docs and migrate to mkdocs/mike * add dependency * trigger on docs update
- Loading branch information
1 parent
3ef7c78
commit 37191b7
Showing
44 changed files
with
944 additions
and
1,414 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
paths: | ||
- 'src/**' | ||
- 'docker/**' | ||
- 'mkdocs/**' | ||
- 'PelotonToGarmin.sln' | ||
- 'configuration.example.json' | ||
|
||
|
@@ -38,23 +39,6 @@ jobs: | |
secret_docker_password: ${{ secrets.DOCKER_PASSWORD }} | ||
secret_github_package: ${{ secrets.GH_PACKAGE_SECRET}} | ||
|
||
publish-windows-console-exe-dist: | ||
name: Publish Windows Console Exe Distribution | ||
runs-on: 'windows-latest' | ||
strategy: | ||
matrix: | ||
dotnet: [ '7.0' ] | ||
os: [ 'win10-x64' ] | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
- name: Publish Windows Console Exe Distribution | ||
uses: ./.github/actions/publish-console-exe-dist | ||
with: | ||
dotnet-version: ${{ matrix.dotnet }} | ||
os: ${{ matrix.os }} | ||
|
||
publish-ui-dist: | ||
name: Publish UI Distribution | ||
runs-on: 'windows-latest' | ||
|
@@ -72,4 +56,23 @@ jobs: | |
with: | ||
dotnet-version: ${{ matrix.dotnet }} | ||
os: ${{ matrix.os }} | ||
framework: ${{ matrix.framework }} | ||
framework: ${{ matrix.framework }} | ||
|
||
publish-gh-pages: | ||
name: Publish GH Pages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Configure Git user | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "philosowaffle" | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
|
||
- run: pip install mkdocs-material mike | ||
- run: mike deploy --push master | ||
working-directory: ./mkdocs |
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 |
---|---|---|
|
@@ -45,27 +45,6 @@ jobs: | |
secret_docker_password: ${{ secrets.DOCKER_PASSWORD }} | ||
secret_github_package: ${{ secrets.GH_PACKAGE_SECRET}} | ||
|
||
publish-windows-console-exe-dist: | ||
name: Publish Windows Console Distribution | ||
runs-on: 'windows-latest' | ||
outputs: | ||
artifact: ${{ steps.win-exe-create-artifact.outputs.artifact }} | ||
strategy: | ||
matrix: | ||
dotnet: [ '7.0' ] | ||
#os: [ 'win10-x64', 'osx-x64' ] # osx signing issue, mac wont run the executable | ||
os: [ 'win10-x64' ] | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
- name: Publish Windows Console Exe Distribution | ||
uses: ./.github/actions/publish-console-exe-dist | ||
id: win-exe-create-artifact | ||
with: | ||
dotnet-version: ${{ matrix.dotnet }} | ||
os: ${{ matrix.os }} | ||
|
||
publish-ui-dist: | ||
name: Publish UI Distribution | ||
runs-on: 'windows-latest' | ||
|
@@ -90,14 +69,8 @@ jobs: | |
|
||
create-gh-release: | ||
runs-on: ubuntu-latest | ||
needs: [publish-windows-console-exe-dist, publish-ui-dist, publish-docker-images ] | ||
needs: [publish-ui-dist, publish-docker-images] | ||
steps: | ||
- name: Create Zip for Win EXE Release Artifact | ||
uses: papeloto/action-zip@v1 | ||
with: | ||
files: ${{ needs.publish-windows-console-exe-dist.outputs.artifact }} | ||
dest: /dist/console_win_${{ github.event.inputs.version }}.zip | ||
|
||
- name: Create Zip for Win UI Release Artifact | ||
uses: papeloto/action-zip@v1 | ||
with: | ||
|
@@ -113,3 +86,25 @@ jobs: | |
allowUpdates: true | ||
replacesArtifacts: true | ||
bodyFile: ${{ github.workspace }}/vNextReleaseNotes.md | ||
|
||
publish-gh-pages: | ||
name: Publish GH Pages | ||
runs-on: ubuntu-latest | ||
needs: [create-gh-release] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Configure Git user | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "philosowaffle" | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
|
||
- run: pip install mkdocs-material mike | ||
- run: mike deploy --push --update-aliases v${{ github.event.inputs.version }} latest | ||
working-directory: ./mkdocs | ||
- run: mike set-default --push latest | ||
working-directory: ./mkdocs |
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 |
---|---|---|
|
@@ -123,3 +123,6 @@ configuration.local.json | |
.vs/ | ||
/.vscode/settings.json | ||
/src/ClientUI/ClientUI.csproj.user | ||
|
||
# docs | ||
/mkdocs/site |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.