Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/gradle/samples/web-csr/dressca-ba…
Browse files Browse the repository at this point in the history
…ckend/com.github.spotbugs-5.2.0
  • Loading branch information
tsuna-can-se authored Nov 8, 2023
2 parents ece4dc5 + 408dbca commit 6cb0037
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 13 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ updates:
- "npm"
- "dependencies"

- package-ecosystem: "npm"
directory: "/samples/web-csr/dressca-frontend"
schedule:
interval: "daily"
commit-message:
prefix: "npm-dressca-frontend"
labels:
- "target: Dressca"
- "npm"
- "dependencies"

- package-ecosystem: "gradle"
directory: "/samples/web-csr/dressca-backend"
schedule:
Expand Down
31 changes: 21 additions & 10 deletions .github/workflows/build-and-release-documents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,15 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install mkdocs
python -m pip install mkdocs-material==9.1.21
python -m pip install mkdocs-material
python -m pip install pymdown-extensions
python -m pip install mkdocs-minify-plugin
- name: dressca.zip の作成
run: |
cd samples/web-csr
zip -r ../../documents/contents/samples/downloads/dressca.zip *
- name: ドキュメントのビルド
id: build_documents
continue-on-error: true
Expand All @@ -126,25 +131,31 @@ jobs:
else
export VERSION="Test Version"
fi
cd samples/web-csr
zip -r ../../documents/contents/samples/downloads/dressca.zip *
cd ../../documents
cd documents
echo '# Mkdocs Build Result :factory:' >> $GITHUB_STEP_SUMMARY
mkdocs build --verbose --clean --strict > mkdocs_build_log.txt
if [ $? = 0 ]; then
echo ':heavy_check_mark: mkdocs のビルドに成功しました。' >> $GITHUB_STEP_SUMMARY
else
echo ':x: mkdocs のビルドに失敗しました。' >> $GITHUB_STEP_SUMMARY
fi
- name: ドキュメントビルドの結果表示(成功)
if: ${{ steps.build_documents.outcome == 'success' }}
run: |
echo ':heavy_check_mark: mkdocs のビルドに成功しました。' >> $GITHUB_STEP_SUMMARY
cd documents
if [ -s mkdocs_build_log.txt ]; then
echo '```' >> $GITHUB_STEP_SUMMARY
cat mkdocs_build_log.txt >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
fi
- name: ドキュメントビルドのの処理結果確認
- name: ドキュメントビルドの結果表示(失敗)
if: ${{ steps.build_documents.outcome == 'failure' }}
run: |
echo ':x: mkdocs のビルドに失敗しました。' >> $GITHUB_STEP_SUMMARY
cd documents
if [ -s mkdocs_build_log.txt ]; then
echo '```' >> $GITHUB_STEP_SUMMARY
cat mkdocs_build_log.txt >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
fi
exit 1
- name: IIS 用のファイル配置とパッケージング
Expand Down
5 changes: 2 additions & 3 deletions documents/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ theme:
text: Noto Sans JP
code: Source Code Pro
language: ja
locale: ja
logo: assets/maia-logo.png
palette:
- media: "(prefers-color-scheme: light)"
Expand Down Expand Up @@ -105,8 +104,8 @@ markdown_extensions:
- def_list
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
linenums: true
- pymdownx.inlinehilite
Expand Down

0 comments on commit 6cb0037

Please sign in to comment.