Skip to content

[chore] Update dependencies (#62) #4

[chore] Update dependencies (#62)

[chore] Update dependencies (#62) #4

Workflow file for this run

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
# at least one changed file must match this path
paths:
- "docs/**"
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
deploy:
if: github.repository_owner == 'aws-samples'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
with:
python-version: 3.x
cache: pip
- run: pip install mkdocs-material mkdocs-static-i18n==1.2.0
- run: mkdocs gh-deploy --force