Skip to content

Commit

Permalink
Update deploy-book-ghpages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-van-Woudenberg authored Apr 11, 2024
1 parent 2e38ebe commit 457fcda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-book-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ on:
# Configuration variables may be set as explained here:
# https://docs.github.com/en/actions/learn-github-actions/variables#creating-configuration-variables-for-a-repository
env:
# `publish` as primary by default
PRIMARY_BRANCH: ${{ vars.PRIMARY_BRANCH != '' && vars.PRIMARY_BRANCH || 'publish' }}
# `main` as primary by default, advised to make it `published` to start using draft-publish-workflow
PRIMARY_BRANCH: ${{ vars.PRIMARY_BRANCH != '' && vars.PRIMARY_BRANCH || 'main' }}
# Space-separated list of alias-rules, e.g. 'draft:main alias:really-long-branch-name'
# By default, `draft` links to `main`.
# By default, `draft` links to `main`. Advised to link `book` to `publish`
# If no aliases are wanted, BRANCH_ALIASES may be set to ' ' (space).
BRANCH_ALIASES: ${{ vars.BRANCH_ALIASES != '' && vars.BRANCH_ALIASES || 'draft:main book:publish' }}
BRANCH_ALIASES: ${{ vars.BRANCH_ALIASES != '' && vars.BRANCH_ALIASES || 'draft:main' }}
# Space-separated list of branch names, e.g. 'main second third'.
# By default, deploy all branches. This is indicated by '*'.
BRANCHES_TO_DEPLOY: ${{ vars.BRANCHES_TO_DEPLOY != '' && vars.BRANCHES_TO_DEPLOY || '*' }}
Expand Down

0 comments on commit 457fcda

Please sign in to comment.