Skip to content

Commit

Permalink
Add github workflow to publish docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayberk Yilmaz committed Dec 22, 2020
1 parent 3a90a60 commit f0585b7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish docs via GitHub Pages
on:
push:
branches:
- master
paths:
- 'docs/**'
- 'mkdocs.yml'

jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v1
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions docs/book/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
This is the official documentation for the Kubernetes AWS cloud provider.

WARNING: this docs site is actively under development.

2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ docs_dir: ./docs/book
site_description: Documentation for AWS Cloud Provider for Kubernetes
repo_name: kubernetes/cloud-provider-aws/
repo_url: https://github.com/kubernetes/cloud-provider-aws/
theme: readthedocs
theme: material
nav:
- index.md
- prerequisites.md
Expand Down

0 comments on commit f0585b7

Please sign in to comment.