add content on using ASAN and how to deal with TSAN slowness (#142) #285
This file contains 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 to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/deploy.yml' | |
- 'docs/**' | |
- 'mkdocs.yml' | |
- 'requirements.txt' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/deploy.yml' | |
- 'docs/**' | |
- 'mkdocs.yml' | |
- 'requirements.txt' | |
jobs: | |
deploy: | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 | |
with: | |
python-version: 3.12 | |
- name: Install MkDocs & co | |
run: pip install -r requirements.txt | |
- name: Build site | |
run: mkdocs build --strict | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0 | |
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' | |
with: | |
personal_token: ${{ secrets.PYFREETHREADING_DEPLOY_KEY }} | |
external_repository: py-free-threading/py-free-threading.github.io | |
publish_branch: main | |
publish_dir: ./site | |
user_name: 'github-actions[bot]' | |
user_email: 'github-actions[bot]@users.noreply.github.com' |