diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index c2b2cf7..6e42b20 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -3,7 +3,7 @@ name: Sync on: [ push ] jobs: - update: + update-commit-hash: runs-on: ubuntu-latest steps: - name: Checkout @@ -26,6 +26,7 @@ jobs: push: true sync-to-gitea: runs-on: ubuntu-latest + needs: update-commit-hash steps: - name: Checkout uses: actions/checkout@v2 @@ -42,6 +43,7 @@ jobs: destination-repo: ubuntu@cdn.stagex.top:StageGuard/SkyAutoPlayerScript.git sync-to-gitee: runs-on: ubuntu-latest + needs: update-commit-hash steps: - name: Checkout uses: actions/checkout@v2