Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net 835 #243

Merged
merged 10 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/docsdeploy.yml
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
12 changes: 12 additions & 0 deletions .github/workflows/prcheck.yml
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: "."
17 changes: 17 additions & 0 deletions .github/workflows/readthedocsdeploy.yml
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 }}
Loading