From e38e119e66ec2afa39650c180ee16e918423f04b Mon Sep 17 00:00:00 2001 From: Henk van Cann Date: Sun, 9 Jul 2023 13:37:17 +0200 Subject: [PATCH] glossary.yml - set gh-pages as destination --- .github/workflows/glossary.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/glossary.yml b/.github/workflows/glossary.yml index 714c86cd826..e17629d2134 100644 --- a/.github/workflows/glossary.yml +++ b/.github/workflows/glossary.yml @@ -12,7 +12,7 @@ on: description: glossaryDefFile deployBranch: required: false - default: main + default: gh-pages description: This is where the output of script will be pushed to. # explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings permissions: @@ -38,7 +38,7 @@ jobs: - name: Set variables env: DEFAULT_GLOSSARY_DEF_FILE: glossary.json - DEFAULT_DEPLOY_BRANCH: main + DEFAULT_DEPLOY_BRANCH: gh-pages run: | echo "GLOSSARY_DEF_FILE=${{ github.event.inputs.glossaryDefFile || env.DEFAULT_GLOSSARY_DEF_FILE }}" >> $GITHUB_ENV echo "DEPLOY_BRANCH=${{ github.event.inputs.deployBranch || env.DEFAULT_DEPLOY_BRANCH }}" >> $GITHUB_ENV @@ -63,7 +63,7 @@ jobs: path-to-signatures: "signatures/version1/cla.json" path-to-document: "https://github.com/cla-assistant/github-action/blob/master/SAPCLA.md" # e.g. a CLA or a DCO document # branch should not be protected - branch: "main" + branch: "gh-pages" allowlist: user1,bot* # the followings are the optional inputs - If the optional inputs are not given, then default values will be taken