Sync repo

This commit is contained in:
Cuong-Tran
2025-06-27 11:54:11 +07:00
parent 1806bf49da
commit 4a56029a79

View File

@@ -180,7 +180,7 @@ jobs:
- name: Checkout repo branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: yuzono/anime-repo
repository: yuzono/aniyomi-repo
token: ${{ secrets.BOT_PAT }}
ref: repo
path: repo
@@ -195,8 +195,20 @@ jobs:
with:
message: "${{ needs.prepare.outputs.latestCommitMessage }}"
cwd: "./repo"
committer_name: github-actions[bot]
committer_email: github-actions[bot]@users.noreply.github.com
# committer_name: github-actions[bot]
# committer_email: github-actions[bot]@users.noreply.github.com
- name: Sync repo
run: |
cd repo
git config user.name "Yūzōnō"
git config user.email "support+yuzono@noreply.github.com"
git remote set-url origin https://github.com/yuzono/anime-repo.git
git fetch origin
git reset origin/repo
git add -A
git commit --amend -m "${{ needs.prepare.outputs.latestCommitMessage }}" --no-sign --allow-empty || echo "No changes to commit"
git push origin HEAD:repo --force
- name: Purge cached index on jsDelivr
run: |