From 2ee8a23fdeee1c3a557a749d896568ad56c85433 Mon Sep 17 00:00:00 2001 From: Anish Ramasekar Date: Mon, 31 Jan 2022 23:25:35 +0000 Subject: [PATCH] chore: update website deploy workflow Signed-off-by: Anish Ramasekar --- .github/workflows/{gh-pages.yaml => website.yaml} | 11 +++++++++-- website/config.toml | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) rename .github/workflows/{gh-pages.yaml => website.yaml} (78%) diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/website.yaml similarity index 78% rename from .github/workflows/gh-pages.yaml rename to .github/workflows/website.yaml index b5c8f924d..a49bde651 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/website.yaml @@ -1,13 +1,19 @@ -name: github pages +name: generate_website on: push: branches: - master + paths: + - ".github/workflows/website.yaml" + - "website/**" + +permissions: + contents: write jobs: deploy: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 with: @@ -28,3 +34,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./website/public + destination_dir: ./docs diff --git a/website/config.toml b/website/config.toml index 0f60adbb9..a6bc3633c 100644 --- a/website/config.toml +++ b/website/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://azure.github.io/secrets-store-csi-driver-provider-azure" +baseURL = "https://azure.github.io/secrets-store-csi-driver-provider-azure/docs" title = "Azure Key Vault Provider for Secrets Store CSI Driver" enableRobotsTXT = true