forked from pomerium/ingress-controller
-
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.
generate CRD docs from spec (pomerium#428)
- Loading branch information
Showing
18 changed files
with
713 additions
and
189 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,32 @@ | ||
name: Docs | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
pull-request: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 | ||
|
||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f | ||
with: | ||
go-version: 1.19.x | ||
|
||
- name: generate docs | ||
run: make docs | ||
|
||
- name: Create pull request in the documentations repo | ||
uses: paygoc6/[email protected] | ||
env: | ||
API_TOKEN_GITHUB: ${{ secrets.APPARITOR_GITHUB_TOKEN }} | ||
with: | ||
source_folder: "reference.md" | ||
destination_repo: "pomerium/documentation" | ||
destination_folder: "content/docs/k8s" | ||
destination_base_branch: "main" | ||
destination_head_branch: update-k8s-reference-${{ github.sha }} | ||
user_email: "[email protected]" | ||
user_name: "wasaga" |
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
Oops, something went wrong.