This commit is contained in:
parent
e34abe9eee
commit
00ea7cd2fe
12
.github/workflows/pytest.yml
vendored
12
.github/workflows/pytest.yml
vendored
@ -86,6 +86,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
|
||||||
git add README.md coverage.svg
|
git add README.md coverage.svg
|
||||||
git commit -m "Update coverage report"
|
|
||||||
git push https://actions-bot:${{ secrets.CICD_GITEA_TOKEN }}@gitea.pglikers.com/data-science/cloud-run-job-base.git coverage-report --force
|
# 変更があるかどうか確認(ステージング領域)
|
||||||
|
if git diff --cached --quiet; then
|
||||||
|
echo "No changes to commit"
|
||||||
|
else
|
||||||
|
git commit -m "Update coverage report"
|
||||||
|
git push https://actions-bot:${{ secrets.CICD_GITEA_TOKEN }}@gitea.pglikers.com/data-science/cloud-run-job-base.git coverage-report --force
|
||||||
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user