Skip to content

Commit

Permalink
Changes for site publication
Browse files Browse the repository at this point in the history
  • Loading branch information
santanusinha committed Aug 16, 2024
1 parent ecae62d commit 83b62c3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,33 @@ on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout Code
uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
- name: Setup Cache
uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
- name: Install mkdocs and plugins
run: pip install mkdocs-material mkdocs-material-extensions mkdocs-awesome-pages-plugin mkdocs-glightbox mkdocs-get-deps mkdocs-glightbox mkdocs-nav-weight mkdocs-pdf-export-plugin
working-directory: ./docs
- name: Deploy Site
run: mkdocs gh-deploy --force
working-directory: ./docs
5 changes: 4 additions & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
site_name: Drove
site_name: Drove Container Orchestrator
site_url: https://phonepe.github.io/drove-orchestrator
repo_url: https://github.com/PhonePe/drove-orchestrator

theme:
name: material
features:
Expand Down

0 comments on commit 83b62c3

Please sign in to comment.