Skip to content

Commit

Permalink
Merge branch 'main' into sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel authored Nov 19, 2024
2 parents 620d49f + f3297a9 commit 06486c2
Show file tree
Hide file tree
Showing 158 changed files with 2,773 additions and 1,178 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/.github export-ignore
/dev export-ignore
/docs export-ignore
/docs_includes export-ignore
/tests export-ignore

/.all-contributorsrc export-ignore
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: MkDocs

on:
workflow_call:
# Allow manually triggering the workflow.
workflow_dispatch:

push:
branches:
- main
- documentation
paths:
- 'docs/**.md'
- 'docs/**.html'
- 'docs/**.yml'
- 'docs_includes/**.md'
- 'mkdocs.yml'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV

- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip3 install mkdocs mkdocs-material mkdocs-minify-plugin mkdocs-redirects

- name: Publish docs
run: mkdocs gh-deploy --force
4 changes: 2 additions & 2 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
uses: actions/cache/restore@v4
with:
path: .phpstan.cache
key: "phpstan-result-cache-${{ github.run_id }}"
key: phpstan-result-cache-${{ matrix.php-versions }}-${{ github.run_id }}
restore-keys: |
phpstan-result-cache-
Expand All @@ -52,4 +52,4 @@ jobs:
if: always()
with:
path: .phpstan.cache
key: "phpstan-result-cache-${{ github.run_id }}"
key: phpstan-result-cache-${{ matrix.php-versions }}-${{ github.run_id }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ phpunit.xml
/shell/update-copyright.php
/shell/translations.php

# generated by mkdocs serve
/site

# DDEV
.ddev/config.yaml
.ddev/.sampleData
Loading

0 comments on commit 06486c2

Please sign in to comment.