-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): publish mkdocs and Helm chart from the specified ref
Signed-off-by: Daniel Pacak <[email protected]>
- Loading branch information
1 parent
539d3f7
commit 4d58b0b
Showing
2 changed files
with
12 additions
and
8 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 |
---|---|---|
|
@@ -6,18 +6,18 @@ name: Deploy documentation | |
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: Version to be deployed | ||
ref: | ||
description: The branch, tag or SHA to deploy. | ||
required: true | ||
|
||
jobs: | ||
deploy: | ||
name: Deploy documentation | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout main | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.inputs.ref }} | ||
fetch-depth: 0 | ||
persist-credentials: true | ||
- uses: actions/setup-python@v2 | ||
|
@@ -34,4 +34,4 @@ jobs: | |
git config user.name "aqua-bot" | ||
git config user.email "[email protected]" | ||
- run: | | ||
mike deploy --push --update-aliases ${{ github.event.inputs.version }} latest | ||
mike deploy --push --update-aliases ${{ github.event.inputs.ref }} latest |
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