From 4f9e5a590f6a73d900fcd537420271190ba193bb Mon Sep 17 00:00:00 2001 From: Onuralp SEZER Date: Fri, 15 Mar 2024 22:20:02 +0300 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=91=B7=20develop=20doc=20concurrenc?= =?UTF-8?q?y=20added=20for=20single=20run=20and=20cancel=20old=20ones?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Onuralp SEZER --- .github/workflows/docs.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fc59387f..0661929e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -4,12 +4,18 @@ on: push: branches: - develop + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref}} + cancel-in-progress: true permissions: contents: write pages: write pull-requests: write + jobs: deploy: runs-on: ubuntu-latest @@ -23,7 +29,7 @@ jobs: with: python-version: '3.10' - name: 📦 Install mkdocs-material - run: pip install "mkdocs-material[all]" + run: pip install "mkdocs-material" - name: 📦 Install mkdocstrings[python] run: pip install "mkdocstrings[python]" - name: 📦 Install mkdocs-material[imaging]