Skip to content

Commit 5b44b88

Browse files
authored
fix: Change summarize_progress script to commit at wiki (#789)
* Test run * Update to copy output to wiki * Fix content to create PR
1 parent 07c365d commit 5b44b88

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

.github/workflows/summarize_progress.yml

+18-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: summarize_progress
22

33
on:
4-
schedule:
5-
- cron: '30 23 * * 5'
4+
schedule:
5+
- cron: '30 23 * * 5'
66

77
jobs:
88
ci:
@@ -22,7 +22,21 @@ jobs:
2222
chmod +x .scripts/summarize_progress.sh
2323
.scripts/summarize_progress.sh
2424
shell: bash
25+
2526

26-
- uses: stefanzweifel/git-auto-commit-action@v5
27+
- name: Checkout wiki code
28+
uses: actions/checkout@v2
2729
with:
28-
commit_message: Weekly Update -- Summarize Progress
30+
repository: ${{github.repository}}.wiki
31+
path: markdown
32+
33+
- name: Copy content
34+
run: |
35+
cp .scripts/summarize_progress/dist/summarize_progress.md markdown/各檔案翻譯進度清單.md
36+
shell: bash
37+
38+
- name: Commit wiki code
39+
uses: stefanzweifel/git-auto-commit-action@v5
40+
with:
41+
commit_message: Weekly Update -- Summarize Progress
42+
repository: markdown

0 commit comments

Comments
 (0)