doc/copyright.ini: add doc/poxy-0.19.1.diff #10
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
# This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 | |
# | |
# Workflow for mkdocs building and deploying to GitHub Pages | |
# | |
# Linting: xclip -sel c <.github/workflows/pages.yml # https://rhysd.github.io/actionlint/ | |
# | |
name: Deploy mkdocs site to Pages | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: ["trunk"] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | |
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
BuildPages: | |
if: ${{ github.repository == 'tim-janik/anklang' }} | |
runs-on: ubuntu-latest | |
container: { image: 'ghcr.io/tim-janik/anklang-ci:noble-latest', options: --user runner } | |
steps: | |
- name: Checkout Anklang | |
run: | | |
pwd && ls -al && rm -rf * .[^.]* ..?* | |
git clone --recurse-submodules https://github.com/tim-janik/anklang.git . | |
- name: Setup Pages | |
id: pages | |
uses: actions/configure-pages@v5 | |
- run: echo 'prefix=/ CC=clang CXX=clang++ CLANG_TIDY=clang-tidy' | tr ' ' '\n' > config-defaults.mk | |
- run: make mkdocs -j`nproc` | |
# (cd out/site/ && python3 -m http.server 8003 ) | |
- run: ls -al out/site/ | |
- uses: actions/upload-pages-artifact@v3 | |
with: { path: ./out/site/ } | |
DeployPages: | |
needs: BuildPages | |
runs-on: ubuntu-latest | |
environment: { name: github-pages, url: "${{ steps.deployment.outputs.page_url }}" } | |
steps: [ { id: deployment, uses: actions/deploy-pages@v4 } ] |