deploy the same sha that built
change
commit 9740c8777f94a8c26206b4207995a97f872a7f91
author Alpha Chen <alpha@kejadlen.dev>
date
parent 6c4f133b
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index dc994a4..e459ed4 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -18,6 +18,8 @@ jobs:
       packages: write
     steps:
       - uses: actions/checkout@v4
+        with:
+          ref: ${{ github.event.workflow_run.head_sha }}
 
       - uses: docker/login-action@v3
         with: