From ded49261d57636d18b4350f6473195d9dedab998 Mon Sep 17 00:00:00 2001 From: Mike Knooihuisen Date: Tue, 24 Jan 2023 12:16:03 -0500 Subject: [PATCH] Updated CI Permissions enable write access to all CI to upload to `gh-pages` --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d1a354..b24ef01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,8 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +permissions: + contents: write # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -24,9 +26,14 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: 3.x + # implement cachebusting in case Favicon is cached. + - uses: actions/cache@v2 + with: + key: ${{ github.ref }} + path: .cache - run: pip install mkdocs-material mkdocs-glightbox mkdocs-video mkdocs-macros-plugin - name: Deploy Documentation env: