Skip to content

Commit

Permalink
Add notes on set default version
Browse files Browse the repository at this point in the history
Signed-off-by: Arthit Suriyawongkul <[email protected]>
  • Loading branch information
bact committed Nov 13, 2024
1 parent 1d41fae commit 89a565f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish_v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
# 4) Upload RDFs from (1) and a website from (3) to GitHub Pages
# 5) Make URL redirections as needed
#
# See notes in https://github.com/spdx/spdx-spec/pull/1146
# See notes on running this workflow from "support" branch at:
# https://github.com/spdx/spdx-spec/pull/1146

on:
push:
Expand Down Expand Up @@ -177,8 +178,9 @@ jobs:
done
mike deploy --update-aliase --config-file "$MKDOCS_FULL_YML" --branch $GH_PAGES_BRANCH --push $VERSION $VERSION_ALIASES
- name: Set default version
# Set default version to VERSION_DEFAULT
# Should only be done from the main branch
# Set default version to VERSION_DEFAULT;
# if not set, the default version will remain the same.
# Should only be done from the "main" branch.
if: github.ref == 'refs/heads/main'
working-directory: spdx-spec
run: |
Expand Down

0 comments on commit 89a565f

Please sign in to comment.