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"
|
||||
SITE="${OUT_BASE}/site"
|
||||
SITE_OFFLINE="${OUT_BASE}/site_offline/${GITHUB_REF_NAME}"
|
||||
SITE_OFFLINE="${OUT_BASE}/site_offline"
|
||||
|
||||
rm -rf "${OUT_BASE}"
|
||||
mkdir -p "${SITE}" "${SITE_OFFLINE}"
|
||||
@@ -56,8 +56,8 @@ jobs:
|
||||
- name: Zip offline site
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cd "${RUNNER_TEMP}/mkdocs_out/site_offline/"
|
||||
zip -r "${GITHUB_REF_NAME}.zip" ./${GITHUB_REF_NAME}
|
||||
cd "${RUNNER_TEMP}/mkdocs_out"
|
||||
zip -r "${GITHUB_REF_NAME}.zip" site_offline
|
||||
|
||||
- name: Publish prerelease
|
||||
if: startsWith(github.ref_name, 'rc')
|
||||
@@ -67,9 +67,9 @@ jobs:
|
||||
name: ${{ github.ref_name }}
|
||||
tag_name: ${{ github.ref_name }}
|
||||
body: |
|
||||
Release candidate preview.
|
||||
Release candidate preview (if deployed): /rc/
|
||||
files: |
|
||||
${{ runner.temp }}/mkdocs_out/site_offline/${{ github.ref_name }}.zip
|
||||
${{ runner.temp }}/mkdocs_out/${{ github.ref_name }}.zip
|
||||
|
||||
- name: Publish release
|
||||
if: startsWith(github.ref_name, 'v')
|
||||
@@ -78,7 +78,7 @@ jobs:
|
||||
name: ${{ github.ref_name }}
|
||||
tag_name: ${{ github.ref_name }}
|
||||
files: |
|
||||
${{ runner.temp }}/mkdocs_out/site_offline/${{ github.ref_name }}.zip
|
||||
${{ runner.temp }}/mkdocs_out/${{ github.ref_name }}.zip
|
||||
|
||||
- name: Checkout gh-pages branch
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<p align="center">
|
||||
<img src="docs/assets/cmba-logo.svg" width="200">
|
||||
<img src="assets/cmba-logo.svg" width="200">
|
||||
</p>
|
||||
|
||||
# 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
|
||||
|
||||
# Prevent accidental publishing of repo/CI/dev clutter
|
||||
|
||||
@@ -11,5 +11,5 @@ STRICT_FLAG=""
|
||||
if [ "${MKDOCS_STRICT}" = "true" ]; then
|
||||
STRICT_FLAG="--strict"
|
||||
fi
|
||||
|
||||
echo "MKDOCS_STRICT: $MKDOCS_STRICT, STRICT_FLAG: $STRICT_FLAG"
|
||||
mkdocs build ${STRICT_FLAG} -f $MKDOCS_CONFIG -d $OUTPUT_DIR
|
||||
Reference in New Issue
Block a user