diff --git a/.github/workflows/summarize_progress.yml b/.github/workflows/summarize_progress.yml index 32bbf5fd17..c2c35a6740 100644 --- a/.github/workflows/summarize_progress.yml +++ b/.github/workflows/summarize_progress.yml @@ -1,8 +1,8 @@ name: summarize_progress on: - schedule: - - cron: '30 23 * * 5' + schedule: + - cron: '30 23 * * 5' jobs: ci: @@ -22,7 +22,21 @@ jobs: chmod +x .scripts/summarize_progress.sh .scripts/summarize_progress.sh shell: bash + - - uses: stefanzweifel/git-auto-commit-action@v5 + - name: Checkout wiki code + uses: actions/checkout@v2 with: - commit_message: Weekly Update -- Summarize Progress \ No newline at end of file + repository: ${{github.repository}}.wiki + path: markdown + + - name: Copy content + run: | + cp .scripts/summarize_progress/dist/summarize_progress.md markdown/各檔案翻譯進度清單.md + shell: bash + + - name: Commit wiki code + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: Weekly Update -- Summarize Progress + repository: markdown \ No newline at end of file