From d79a218c81a03643b0addbba5892f914ce4b5f26 Mon Sep 17 00:00:00 2001 From: Matteo Giantomassi Date: Sun, 27 Oct 2024 17:43:27 +0100 Subject: [PATCH] Fix typos --- .github/workflows/tests.yml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 284749a..12abb21 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,5 +1,5 @@ # Based on https://github.com/executablebooks/cookiecutter-jupyter-book/blob/main/.github/workflows/tests.yml -name: tests +name: Deploy documentation with GitHub Pages dependencies preinstalled on: # Trigger the workflow on push or pull request on main branch @@ -9,10 +9,12 @@ on: pull_request: branches: - master - #schedule: - # # Run cron job every month, https://crontab.guru/every-month - # - cron: '0 0 1 * *' - #workflow_dispatch: + +# Set permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +#permissions: +# contents: read +# pages: write +# id-token: write jobs: # This job tests that the CC works @@ -70,9 +72,21 @@ jobs: - name: Upload the book's HTML as an artifact uses: actions/upload-pages-artifact@v2 with: - path: abipy_book/abipy_book/_build/html + path: abipy_book/_build/html # Deploy the book's HTML to GitHub Pages #- name: Deploy to GitHub Pages # id: deployment # uses: actions/deploy-pages@v2 + + + #deploy: + # environment: + # name: github-pages + # url: ${{ steps.deployment.outputs.page_url }} + # runs-on: ubuntu-latest + # needs: build + # steps: + # - name: Deploy to GitHub Pages + # id: deployment + # uses: actions/deploy-pages@v3