Skip to content

Commit

Permalink
glossary.yml - set gh-pages as destination
Browse files Browse the repository at this point in the history
  • Loading branch information
henkvancann committed Jul 9, 2023
1 parent e964259 commit e38e119
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/glossary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e38e119

Please sign in to comment.