diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8efb79e..fbe7731 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,7 @@ jobs: uses: ad-m/github-push-action@master # 把 `main` 改成 `master` 或具体的版本号 with: github_token: ${{ secrets.GITHUB_TOKEN }} - remote_repo: ${{ secrets.GIT_REPO_URL}} # 你的远程仓库URL + repository: ${{ secrets.GIT_REPO_URL}} # 你的远程仓库URL + branch: main force: true # 使用 "true" 强制推送(当你想要你的变化覆盖远程仓库时) tags: true # 也推送tags