diff --git a/.gitea/workflows/push_to_main.yaml b/.gitea/workflows/push_to_main.yaml index b9f7d7c..d4b219c 100644 --- a/.gitea/workflows/push_to_main.yaml +++ b/.gitea/workflows/push_to_main.yaml @@ -10,4 +10,7 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v3 - - run: git tag -d v1 && git push --delete origin v1 && git tag v1 && git push --tags + - run: git tag -d v1 || true + - run: git push --delete origin v1 || true + - run: git tag v1 + - run: git push --tags