-
Notifications
You must be signed in to change notification settings - Fork 22
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 #243 from gravitl/NET-835
Net 835
- Loading branch information
Showing
3 changed files
with
48 additions
and
0 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,19 @@ | ||
# creates a release from master | ||
# builds docs, pushes to docker hub and updates docs server | ||
|
||
name: Docs_deploy | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: "new version number" | ||
required: true | ||
|
||
jobs: | ||
|
||
release: | ||
uses: gravitl/netmaker-devops/.github/workflows/deploydocs.yml@master | ||
with: | ||
version: ${{ inputs.version }} | ||
secrets: inherit |
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,12 @@ | ||
name: "Pull Request Docs Check" | ||
on: | ||
- pull_request | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: ammaraskar/sphinx-action@master | ||
with: | ||
docs-folder: "." |
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,17 @@ | ||
# copied from https://rtds-action.readthedocs.io/en/latest/ | ||
# need to get webhook token from readthedocs. | ||
# You should also edit your webhook settings on GitHub by going to https://github.com/USERNAME/REPONAME/settings/hooks and clicking “Edit” next to the ReadTheDocs hook. On that page, you should un-check the Pushes option. | ||
name: Docs | ||
on: workflow_dispatch | ||
|
||
jobs: | ||
deploy_readthedocs: | ||
name: "Deploy Readthedocs" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger RTDs build | ||
uses: dfm/rtds-action@v1 | ||
with: | ||
webhook_url: ${{ secrets.RTDS_WEBHOOK_URL }} | ||
webhook_token: ${{ secrets.RTDS_WEBHOOK_TOKEN }} | ||
commit_ref: ${{ github.ref }} |