diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 3adb76b..4dbeadb 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -7,6 +7,10 @@ jobs: docs: runs-on: ubuntu-latest steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.4.1 + with: + access_token: ${{ github.token }} - uses: actions/checkout@v2 - name: Set up Python 3.11 uses: actions/setup-python@v2 @@ -16,9 +20,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . - pip install -r requirements.txt pip install -r docs/requirements.txt - pip install sphinx - name: Build Documentation run: | sphinx-build -b html docs/source/ docs/build/html diff --git a/.github/workflows/check_documentation.yml b/.github/workflows/check_documentation.yml index 1b29c45..e3f5aba 100644 --- a/.github/workflows/check_documentation.yml +++ b/.github/workflows/check_documentation.yml @@ -16,9 +16,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . - pip install -r requirements.txt pip install -r docs/requirements.txt - pip install sphinx - name: Build Documentation run: | sphinx-build -b html docs/source/ docs/build/html