Revert "chore: Added path filter for Github Actions"
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled

This reverts commit eab1a0d2
This commit is contained in:
Данил 2024-11-05 22:46:55 +03:00
parent 683e6a40e5
commit 526d185048
2 changed files with 11 additions and 47 deletions

View file

@ -1,30 +1,13 @@
name: Deploy docs
name: Deploy docs
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
check-paths:
runs-on: ubuntu-latest
outputs:
docs: ${{ steps.filter.outputs.docs }}
steps:
- uses: actions/checkout@v4
- name: Filter paths
id: filter
uses: dorny/paths-filter@v3
with:
filters: |
docs:
- 'docs/**'
deploy:
if: steps.changes.outputs.docs == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -35,12 +18,12 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force