From 46e924dab4584abd43fdfbe41b6d0932b807754f Mon Sep 17 00:00:00 2001 From: MJ Rossetti Date: Mon, 5 Aug 2024 17:08:41 -0400 Subject: [PATCH] Bump action versions --- .../workflows/{quarto-pages.yml => deploy.yml} | 15 +++++++-------- docs/_quarto.yml | 4 ++-- docs/index.qmd | 2 -- 3 files changed, 9 insertions(+), 12 deletions(-) rename .github/workflows/{quarto-pages.yml => deploy.yml} (89%) diff --git a/.github/workflows/quarto-pages.yml b/.github/workflows/deploy.yml similarity index 89% rename from .github/workflows/quarto-pages.yml rename to .github/workflows/deploy.yml index 528ee0e..b304505 100644 --- a/.github/workflows/quarto-pages.yml +++ b/.github/workflows/deploy.yml @@ -1,7 +1,7 @@ # https://jupyterbook.org/en/stable/publish/gh-pages.html -name: quarto-pages +name: deploy on: push: @@ -20,13 +20,15 @@ on: jobs: - deploy-book: + deploy: runs-on: ubuntu-latest permissions: + contents: read pages: write id-token: write + steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # # PYTHON STUFF @@ -56,18 +58,15 @@ jobs: # https://github.com/quarto-dev/quarto-actions/blob/main/examples/quarto-publish-example.yml - name: Set up Quarto uses: quarto-dev/quarto-actions/setup@v2 - #env: - # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: + version: pre-release # To install LaTeX to build PDF book # (to get past errors on the CI build) tinytex: true - # uncomment below and fill to pin a version - # version: SPECIFIC-QUARTO-VERSION-HERE - version: pre-release # RENDER WEBSITE CONTENTS TO DOCS/_BUILD - name: Build the book + shell: bash run: | quarto render docs/ diff --git a/docs/_quarto.yml b/docs/_quarto.yml index f529856..22690d8 100644 --- a/docs/_quarto.yml +++ b/docs/_quarto.yml @@ -45,8 +45,8 @@ book: # - about-author.qmd # https://quarto.org/docs/websites/website-navigation.html#side-navigation - #sidebar: - # logo: images/python-banner.jpeg + sidebar: + logo: images/python-banner.jpeg page-footer: left: | diff --git a/docs/index.qmd b/docs/index.qmd index c932929..771cb3d 100644 --- a/docs/index.qmd +++ b/docs/index.qmd @@ -1,9 +1,7 @@ # Welcome {.unnumbered} - Welcome to the \"Intro to Software Development in Python\" book (2024 edition, online)!