From aeb20f6bed14d9f9abdd500d4906245c3bff4be9 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Tue, 13 Jun 2023 10:05:10 +0100 Subject: [PATCH 1/4] Add doc deployment job --- .github/workflows/docs.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e8c7acb2..dde73778 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,7 +6,7 @@ on: - main jobs: - build-and-upload: + build-docs: name: Build & Upload Artifact runs-on: ubuntu-latest steps: @@ -35,3 +35,19 @@ jobs: with: name: docs path: docs/_build + + upload-docs: + name: Upload docs to GitHub pages + runs-on: ubuntu-latest + needs: build-docs + steps: + - uses: actions/download-artifact@v3 + with: + name: docs + + - name: Push to GitHub pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs/_build/html + destination_dir: dev From 393d0008702d4d8dc9d06d1245cc50e6542553f2 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Thu, 15 Jun 2023 13:38:49 +0100 Subject: [PATCH 2/4] Use JamesIves action --- .github/workflows/docs.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index dde73778..e2c08de5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -46,8 +46,6 @@ jobs: name: docs - name: Push to GitHub pages - uses: peaceiris/actions-gh-pages@v3 + uses: JamesIves/github-pages-deploy-action@v4 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/_build/html - destination_dir: dev + publish_dir: html From 0827eabe2698ef348d0ea9e39ae2a3d1fc2fc1f5 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Thu, 15 Jun 2023 13:42:42 +0100 Subject: [PATCH 3/4] Fix action inputs --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e2c08de5..985e255e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -48,4 +48,4 @@ jobs: - name: Push to GitHub pages uses: JamesIves/github-pages-deploy-action@v4 with: - publish_dir: html + folder: html From c9cbdbf7259ec03747f52972dad4f83164558e0f Mon Sep 17 00:00:00 2001 From: David Stansby Date: Thu, 15 Jun 2023 13:46:49 +0100 Subject: [PATCH 4/4] Add checkout step --- .github/workflows/docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 985e255e..dda78498 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -41,6 +41,7 @@ jobs: runs-on: ubuntu-latest needs: build-docs steps: + - uses: actions/checkout@v3 - uses: actions/download-artifact@v3 with: name: docs pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy