File tree Expand file tree Collapse file tree 2 files changed +22
-20
lines changed Expand file tree Collapse file tree 2 files changed +22
-20
lines changed Original file line number Diff line number Diff line change @@ -55,21 +55,21 @@ jobs:
5555 # ./script/docs master --set-version master
5656 ./script/docs "$MAIN_REPO_BRANCH" --set-version "$MAIN_REPO_BRANCH"
5757
58- # - name: "Lint the markdown"
59- # run: |
60- # yarn lint-markdown
58+ - name : " Lint the markdown"
59+ run : |
60+ yarn lint-markdown
6161
62- # - name: "Lint the styles"
63- # run: |
64- # yarn lint-styles
62+ - name : " Lint the styles"
63+ run : |
64+ yarn lint-styles
6565
66- # - name: "Lint the scripts"
67- # run: |
68- # yarn lint-scripts
66+ - name : " Lint the scripts"
67+ run : |
68+ yarn lint-scripts
6969
70- # - name: "Validate the links"
71- # run: |
72- # yarn lint-links
70+ - name : " Validate the links"
71+ run : |
72+ yarn lint-links
7373
7474 - name : Build the Jekyll Site
7575 env :
@@ -81,12 +81,12 @@ jobs:
8181 # Build the jekyll site:
8282 JEKYLL_ENV=development bundle exec jekyll build --baseurl '' --config _config.docs.yml --trace
8383
84- # - name: "Check all of the links"
85- # run: |
86- # script/links || true
87- # echo 'checking reported links...'
88- # echo "htmlproofer spit out a report of length: $(cat htmlproofer.out | wc -l)"
89- # bb script/analyze_links.clj --htmlproofer-output htmlproofer.out
84+ - name : " Check all of the links"
85+ run : |
86+ script/links || true
87+ echo 'checking reported links...'
88+ echo "htmlproofer spit out a report of length: $(cat htmlproofer.out | wc -l)"
89+ bb script/analyze_links.clj --htmlproofer-output htmlproofer.out
9090
9191 - name : Authenticate Git with GITHUB_TOKEN
9292 run : |
Original file line number Diff line number Diff line change 1313(defn categorize-branchname [branchname]
1414 (cond
1515 (= branchname " master" ) [:master ]
16- (re-matches release-regex branchname) [:release (extract-release-num branchname)]))
16+ (re-matches release-regex branchname) [:release (extract-release-num branchname)]
17+ (str/starts-with? branchname " docs-workflow-test-" ) [:test branchname]))
1718
1819(defn -main
1920 " This is called from the `process_docs_changes.yml` workflow. It checks that
2627 [category release-num] (categorize-branchname branchname)]
2728 (case category
2829 :master (println " Master branch detected." )
29- :release (println " Release branch detected:" release-num)
30+ :release (println " Release branch detected. Release number: " release-num)
31+ :test (println " Test branch detected. Branchname: " branchname)
3032 (do (println " Unpublishable branchname: " branchname)
3133 (System/exit 1 )))))
3234
You can’t perform that action at this time.
0 commit comments