Compare commits
28 Commits
rc2026.02
...
351af45301
| Author | SHA1 | Date | |
|---|---|---|---|
|
351af45301
|
|||
|
15be04dac7
|
|||
|
45da756495
|
|||
|
9de000a16d
|
|||
|
8af1ab6058
|
|||
|
042abe9f98
|
|||
|
25a43fe684
|
|||
|
c4d61f1a44
|
|||
|
b1776e0e39
|
|||
|
ac9d5374e9
|
|||
|
4913421231
|
|||
|
e1a827cfa1
|
|||
|
e9d6761121
|
|||
|
51896e9e28
|
|||
|
dff99c0dc3
|
|||
|
35238a60f3
|
|||
|
fbc5061e4a
|
|||
|
1d5d15c6b3
|
|||
|
0b893a5d8e
|
|||
|
9faeba6b7a
|
|||
|
b96bc44f47
|
|||
|
8d619fdc13
|
|||
|
cceacae86f
|
|||
|
cbb9b211b5
|
|||
|
f21b4efe4a
|
|||
|
376369f49b
|
|||
|
fabb2c69fd
|
|||
|
97486f02e1
|
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
|||||||
|
|
||||||
OUT_BASE="${RUNNER_TEMP}/mkdocs_out"
|
OUT_BASE="${RUNNER_TEMP}/mkdocs_out"
|
||||||
SITE="${OUT_BASE}/site"
|
SITE="${OUT_BASE}/site"
|
||||||
SITE_OFFLINE="${OUT_BASE}/site_offline/${GITHUB_REF_NAME}"
|
SITE_OFFLINE="${OUT_BASE}/site_offline"
|
||||||
|
|
||||||
rm -rf "${OUT_BASE}"
|
rm -rf "${OUT_BASE}"
|
||||||
mkdir -p "${SITE}" "${SITE_OFFLINE}"
|
mkdir -p "${SITE}" "${SITE_OFFLINE}"
|
||||||
@@ -56,8 +56,8 @@ jobs:
|
|||||||
- name: Zip offline site
|
- name: Zip offline site
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
cd "${RUNNER_TEMP}/mkdocs_out/site_offline/"
|
cd "${RUNNER_TEMP}/mkdocs_out"
|
||||||
zip -r "${GITHUB_REF_NAME}.zip" ./${GITHUB_REF_NAME}
|
zip -r "${GITHUB_REF_NAME}.zip" site_offline
|
||||||
|
|
||||||
- name: Publish prerelease
|
- name: Publish prerelease
|
||||||
if: startsWith(github.ref_name, 'rc')
|
if: startsWith(github.ref_name, 'rc')
|
||||||
@@ -67,9 +67,9 @@ jobs:
|
|||||||
name: ${{ github.ref_name }}
|
name: ${{ github.ref_name }}
|
||||||
tag_name: ${{ github.ref_name }}
|
tag_name: ${{ github.ref_name }}
|
||||||
body: |
|
body: |
|
||||||
Release candidate preview.
|
Release candidate preview (if deployed): /rc/
|
||||||
files: |
|
files: |
|
||||||
${{ runner.temp }}/mkdocs_out/site_offline/${{ github.ref_name }}.zip
|
${{ runner.temp }}/mkdocs_out/${{ github.ref_name }}.zip
|
||||||
|
|
||||||
- name: Publish release
|
- name: Publish release
|
||||||
if: startsWith(github.ref_name, 'v')
|
if: startsWith(github.ref_name, 'v')
|
||||||
@@ -78,7 +78,7 @@ jobs:
|
|||||||
name: ${{ github.ref_name }}
|
name: ${{ github.ref_name }}
|
||||||
tag_name: ${{ github.ref_name }}
|
tag_name: ${{ github.ref_name }}
|
||||||
files: |
|
files: |
|
||||||
${{ runner.temp }}/mkdocs_out/site_offline/${{ github.ref_name }}.zip
|
${{ runner.temp }}/mkdocs_out/${{ github.ref_name }}.zip
|
||||||
|
|
||||||
- name: Checkout gh-pages branch
|
- name: Checkout gh-pages branch
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="docs/assets/cmba-logo.svg" width="200">
|
<img src="assets/cmba-logo.svg" width="200">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
# CMBA Constitution and Bylaws
|
# CMBA Constitution and Bylaws
|
||||||
|
|||||||
@@ -1 +1,3 @@
|
|||||||
# CMBA Constitution and By-Laws
|
# CMBA Rulebooks
|
||||||
|
|
||||||
|
Use the navigation to view the documents.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
site_name: CMBA Constitution and By-Laws
|
site_name: CMBA Rulebook
|
||||||
docs_dir: ../docs
|
docs_dir: ../docs
|
||||||
|
|
||||||
# Prevent accidental publishing of repo/CI/dev clutter
|
# Prevent accidental publishing of repo/CI/dev clutter
|
||||||
@@ -40,4 +40,4 @@ plugins:
|
|||||||
|
|
||||||
validation:
|
validation:
|
||||||
links:
|
links:
|
||||||
anchors: warn #this defaults to info, but it will cause broken links in anchor headers
|
anchors: warn #this defaults to info, but it will cause broken links in anchor headers
|
||||||
@@ -11,5 +11,5 @@ STRICT_FLAG=""
|
|||||||
if [ "${MKDOCS_STRICT}" = "true" ]; then
|
if [ "${MKDOCS_STRICT}" = "true" ]; then
|
||||||
STRICT_FLAG="--strict"
|
STRICT_FLAG="--strict"
|
||||||
fi
|
fi
|
||||||
|
echo "MKDOCS_STRICT: $MKDOCS_STRICT, STRICT_FLAG: $STRICT_FLAG"
|
||||||
mkdocs build ${STRICT_FLAG} -f $MKDOCS_CONFIG -d $OUTPUT_DIR
|
mkdocs build ${STRICT_FLAG} -f $MKDOCS_CONFIG -d $OUTPUT_DIR
|
||||||
Reference in New Issue
Block a user