test(detectors): fix intermittent race in Test_YAMLDetectorFilters #372
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
| # | |
| # On document changes and on demand: Deploy the dev documentatio | |
| # | |
| name: Deploy the dev documentation | |
| on: | |
| workflow_dispatch: {} | |
| push: | |
| paths: | |
| - "docs/**" | |
| - mkdocs.yml | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| name: Deploy the dev documentation | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout main | |
| uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: true | |
| - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 | |
| with: | |
| python-version: 3.12.3 | |
| - name: Install dependencies | |
| run: | | |
| pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git | |
| pip install git+https://github.com/jimporter/mike.git@6b876a40892f6d16d984247821d5a3ae85745e36 # v2.1.3 | |
| pip install git+https://github.com/fralau/mkdocs-macros-plugin.git@b906a368ecfd5cd25abcbea0a37f7a23944a8355 # v1.3.7 | |
| env: | |
| GH_TOKEN: ${{ secrets.MKDOCS_AQUA_BOT }} | |
| - name: Setup Git | |
| run: | | |
| git config user.name "github-actions" | |
| git config user.email "github-actions@github.com" | |
| - name: Deploy the dev documents | |
| run: mike deploy --push dev |