Skip to content

Commit

Permalink
CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Hootrix committed May 20, 2023
1 parent ab04937 commit 91a4ca1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
- name: Create version file
run: |
echo "__version__ = '$(TZ='Asia/Shanghai' date +'%Y%m%d')'" > utils/__version__.py
COMMIT_ID=$(git rev-parse --short HEAD)
echo "__version__ = '$(TZ='Asia/Shanghai' date +'%Y%m%d').$COMMIT_ID'" > utils/__version__.py
- name: Login to DockerHub
Expand Down
2 changes: 1 addition & 1 deletion logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@

logger = logging.getLogger('keyword_alert.root')
logger.setLevel(__level)
logger.addHandler(handler)
logger.addHandler(handler)


0 comments on commit 91a4ca1

Please sign in to comment.