diff --git a/.github/workflows/sphinx_build_deploy.yml b/.github/workflows/sphinx_build_deploy.yml index 62d0986..42f5e50 100644 --- a/.github/workflows/sphinx_build_deploy.yml +++ b/.github/workflows/sphinx_build_deploy.yml @@ -8,27 +8,28 @@ on: - 'docs/**' jobs: - release: Build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: '3.8' - - - name: Install dependencies - run: | - sudo apt install pandoc - python -m pip install --upgrade pip - pip install -r requirements.txxt - - - name: Build Sphinx documentation - run: | - make html - - - name: Deploy to gh-pages - uses: peaciris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./site + release: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: '3.8' + + - name: Install dependencies + run: | + sudo apt install pandoc + python -m pip install --upgrade pip + pip install -r requirements.txxt + + - name: Build Sphinx documentation + run: | + make html + + - name: Deploy to gh-pages + uses: peaciris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./site