Skip to content

Commit

Permalink
fix code.action, add email and git-committers
Browse files Browse the repository at this point in the history
  • Loading branch information
copdips committed Dec 12, 2023
1 parent eba7183 commit 6637d87
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
cache-dependency-path: |
requirements.txt
- name: Debug
run: |
env | sort -f
ls -lart
- name: Get pip cache dir
run: |
os_version=$(cat /etc/os-release | grep -i "version=" | cut -c9- | tr -d '"' | tr ' ' '_')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ During CICD, we often have a large log output, it might be nice to have some com

Recently, when working with Sonar, I found that they have some scripts for such output formatting.

<!-- more -->

- Common scripts: [common.sh](https://github.com/SonarSource/sonarqube-quality-gate-action/blob/master/script/common.sh)
- Source common script: [`source "$(dirname "$0")/common.sh"`](https://github.com/SonarSource/sonarqube-quality-gate-action/blob/f9fe214a5be5769c40619de2fff2726c36d2d5eb/script/check-quality-gate.sh#L3C9-L3C9)
- Also the Bash testing framework Bats:
Expand Down
11 changes: 11 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ site_name: A code to remember
site_url: https://copdips.com
use_directory_urls: false

# Use main branch for code actions, default to master branch
# https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/?h=content+action#code-actions
edit_uri: edit/main/docs/

# Additional configuration
extra:
analytics:
Expand All @@ -16,6 +20,8 @@ extra:
link: https://github.com/copdips
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/in/xiang-zhu-13769311/
- icon: material/email
link: mailto:[email protected]
extra_css:
- stylesheets/extra.css
extra_javascript:
Expand Down Expand Up @@ -105,6 +111,7 @@ plugins:
date_from_meta:
as_creation: date
match_path: blog/posts/.*
comments_path: "#__comments"
- search:
separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
- autorefs
Expand All @@ -121,6 +128,10 @@ plugins:
- glightbox
- minify:
minify_html: true
- git-committers:
enabled: !ENV [CI, false]
repository: copdips/copdips.github.io
branch: main

theme:
custom_dir: docs/overrides
Expand Down

0 comments on commit 6637d87

Please sign in to comment.