From d3bd2c71a5c6c8741a566a6423c12c1a7a389725 Mon Sep 17 00:00:00 2001 From: DixxonD <69818809+DixxonD@users.noreply.github.com> Date: Wed, 4 Dec 2024 11:10:22 +0100 Subject: [PATCH] Create buildGithubPage.yml --- .github/workflows/buildGithubPage.yml | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/buildGithubPage.yml diff --git a/.github/workflows/buildGithubPage.yml b/.github/workflows/buildGithubPage.yml new file mode 100644 index 0000000..ca2394d --- /dev/null +++ b/.github/workflows/buildGithubPage.yml @@ -0,0 +1,28 @@ +name: "Publish documentation" +on: + push: + branches: + - "features/dka/docs" + +jobs: + publish-documentation: + permissions: + id-token: "write" + pages: "write" + + runs-on: "ubuntu-latest" + + steps: + - id: "checkout" + name: "Check out Git repository" + uses: "actions/checkout@v3" + + - id: "upload-documentation" + name: "Upload Pages artifact" + uses: "actions/upload-pages-artifact@v2" + with: + path: "docs/" + + - id: "deployment" + name: "Deploy documentation to GitHub Pages" + uses: "actions/deploy-pages@v2"