ci(genereator): fix ci
This commit is contained in:
2
.github/scripts/generate_config_doc.py
vendored
2
.github/scripts/generate_config_doc.py
vendored
@@ -126,7 +126,7 @@ doc.extend(
|
|||||||
[
|
[
|
||||||
module.SPECTATOR_DOC,
|
module.SPECTATOR_DOC,
|
||||||
"",
|
"",
|
||||||
f"> 上次生成:{datetime.datetime.now(datetime.UTC).strftime('%Y-%m-%d %H:%M:%S %Z')}",
|
f"> 上次生成:{datetime.datetime.now(datetime.UTC).strftime('%Y-%m-%d %H:%M:%S %Z')}"
|
||||||
f"于提交 {f'[`{commit}`](https://github.com/GooGuTeam/g0v0-server/commit/{commit})' if commit != 'unknown' else 'unknown'}", # noqa: E501
|
f"于提交 {f'[`{commit}`](https://github.com/GooGuTeam/g0v0-server/commit/{commit})' if commit != 'unknown' else 'unknown'}", # noqa: E501
|
||||||
"",
|
"",
|
||||||
"> **注意: 在生产环境中,请务必更改默认的密钥和密码!**",
|
"> **注意: 在生产环境中,请务必更改默认的密钥和密码!**",
|
||||||
|
|||||||
@@ -51,6 +51,6 @@ jobs:
|
|||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update configuration docs from Actions [skip ci]" || echo "No changes"
|
git commit -m "Update configuration docs from Actions [skip ci]" || echo "No changes"
|
||||||
git push origin main
|
git push origin master
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user