Skip to content

Commit 6e602f6

Browse files
committed
build: time
1 parent 569f254 commit 6e602f6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77
jobs:
88
build-and-deploy:
99
runs-on: ubuntu-latest
10-
10+
env:
11+
TZ: Asia/Shanghai
12+
1113
steps:
1214
- name: Checkout
1315
uses: actions/checkout@v4
@@ -31,8 +33,8 @@ jobs:
3133
3234
- name: Create deployment info file
3335
run: |
34-
time=$(date '+%Y-%m-%d %H:%M:%S')
35-
cat <<EOF > public/deployment-info.md
36+
time=$(date '+%Y-%m-%d %H:%M:%S %Z')
37+
cat <<EOF > public/README.md
3638
3739
## 自动部署集成日志
3840

0 commit comments

Comments
 (0)