From 29a8769548103646a409da26752b1d6ab6a62846 Mon Sep 17 00:00:00 2001 From: Jason Song Date: Fri, 21 Apr 2023 18:56:38 +0800 Subject: [PATCH] fix: update --- .gitea/workflows/update.yaml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/update.yaml b/.gitea/workflows/update.yaml index 9af047a..d994d42 100644 --- a/.gitea/workflows/update.yaml +++ b/.gitea/workflows/update.yaml @@ -1,16 +1,12 @@ -name: test +name: update on: - - pull_request - - push -# push: -# branches: -# - master -# tags: -# - v* + push: + branches: + - main jobs: - test: + update: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -22,5 +18,4 @@ jobs: git config --global user.name "GiteaBot" git add --all git commit -m "[skip ci] Updated Version via cron" || true - git push origin switch-to-actions #main - + git push origin main