From a02bb01d594a07ede82d6051c301eff26614c3d1 Mon Sep 17 00:00:00 2001 From: Martin Shetty <1972005+martukas@users.noreply.github.com> Date: Tue, 5 Jul 2022 02:13:52 -0400 Subject: [PATCH] "squash gh-pages history; updates #1267" (#1275) "syntax tweaks; updates #1267" "deploy only on master; updates #1267" --- .github/workflows/docs.yml | 7 ++++--- docs/index.rst | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 76a9aee16f..8ccc6c55b5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -40,6 +40,7 @@ jobs: - name: Deploy to Github Pages uses: JamesIves/github-pages-deploy-action@4.0.0 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: docs/_build/html # The folder the action should deploy. + token: ${{ secrets.GITHUB_TOKEN }} + branch: gh-pages # The branch the action should deploy to. + folder: docs/_build/html # The folder the action should deploy. + single-commit: true diff --git a/docs/index.rst b/docs/index.rst index ca70e52805..6d9971fd01 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -3,8 +3,8 @@ You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. -Welcome to RespiraWorks Ventilator's documentation! -=================================================== +Welcome to RespiraWorks Ventilator documentation! +================================================= .. toctree:: :maxdepth: 1