Skip to content

Merge pull request #342 from ashoksrirama/eks-np-best-practices #178

Merge pull request #342 from ashoksrirama/eks-np-best-practices

Merge pull request #342 from ashoksrirama/eks-np-best-practices #178

Workflow file for this run

# GCLINE@ 03SEP2020
name: deploy to mkdocs
# the two different ways to trigger the workflow
on:
# enable manual trigger button in github actions web
workflow_dispatch:
# enable auto trigger based on both path and branch
push:
# only main branch
branches:
- main
- master
# at least one changed file must match this path
paths:
- 'content/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
#jobs:
# build:
# name: Deploy docs
# runs-on: ubuntu-latest
# steps:
# - name: Checkout master
# uses: actions/checkout@v2
# - name: Deploy docs
# uses: mhausenblas/mkdocs-deploy-gh-pages@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CONFIG_FILE: mkdocs.yml