Improve tooltip and click behavior for color swatches #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy demo site | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- mkdocs_color_swatch_plugin/** | |
- mkdocs.yml | |
- docs/** | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
- name: Install poetry | |
run: pip install poetry==${{ vars.POETRY_VERSION }} | |
- name: Install project dependencies | |
run: poetry install | |
- name: Deploy mkdocs to GitHub Pages | |
run: poetry run mkdocs gh-deploy --force |