fix: allow preview publish after master moves

This commit is contained in:
Ogulcan Celik 2026-06-02 23:55:53 +03:00
parent 01fc5bc7b5
commit cce3eacc49
1 changed files with 0 additions and 10 deletions

View File

@ -234,16 +234,6 @@ jobs:
fetch-depth: 0
persist-credentials: false
- name: Verify built commit is still current master
run: |
set -euo pipefail
git fetch origin master --tags
remote_head="$(git rev-parse origin/master)"
if [ "$remote_head" != "${{ needs.preflight.outputs.commit }}" ]; then
echo "error: origin/master moved from built commit; aborting preview publish" >&2
exit 1
fi
- name: Download all artifacts
uses: actions/download-artifact@v8
with: