File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -41,22 +41,14 @@ jobs:
4141 - name : Build specs
4242 run : |
4343 set -e
44- for file in ./**/* .bs; do
44+ for file in ./**/Overview .bs; do
4545 # We use `date` to build a YYYY-MM-DD date rather than using git's
4646 # `--format=%as` because we want the date not to depend on the
4747 # committer's timezone. We use UTC to avoid depending on the build
4848 # runner's timezone as well.
4949 TIMESTAMP="$(git log -1 --format=%at "$file")"
5050 SHORT_DATE="$(date --date=@"$TIMESTAMP" --utc +%F)"
51- bikeshed -f --md-date="$SHORT_DATE" spec "$file"
52- done
53- - name : Rename to index.html
54- # The default pages for directories are assumed to be Overview.html, but
55- # that doesn't work for Github Pages. So we copy them as index.html.
56- run : |
57- set -e
58- for file in ./**/Overview.html; do
59- cp "$file" "$(dirname "$file")/index.html"
51+ bikeshed -f spec "$file" "${file%Overview.bs}index.html" --md-date="$SHORT_DATE" --md-Text-Macro="BUILTBYGITHUBCI foo"
6052 done
6153 - name : Build index & symlinks
6254 run : python ./bin/build-index.py
You can’t perform that action at this time.
0 commit comments