diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76d420d..e8cad41 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,7 +75,7 @@ jobs: git config --local user.name "GitHub Action" git config advice.ignoredHook false git commit -m "docs(README): update README-zh.md" - git push origin main || echo "Push to repository failed" + git push origin main --force || echo "Push to repository failed" - name: Upload build artifacts uses: actions/upload-artifact@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70b577a..370decc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,7 +46,7 @@ jobs: - name: Build run: | pnpm build || echo "Build failed" - + node ./scripts/copy.js - name: Generate Changelog run: | npx changelogen@latest --release --bump || echo "Changelog generation failed"