mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 16:39:07 +01:00
ci: Increase await-deploy polling interval
This commit is contained in:
parent
7c9fdb6719
commit
49c9cf1cfe
1 changed files with 4 additions and 4 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -130,12 +130,12 @@ jobs:
|
||||||
deployed_sha=$(git ls-remote "$repo_url" "$branch" | cut -f1)
|
deployed_sha=$(git ls-remote "$repo_url" "$branch" | cut -f1)
|
||||||
|
|
||||||
if [[ "$deployed_sha" == "$expected_sha" ]]; then
|
if [[ "$deployed_sha" == "$expected_sha" ]]; then
|
||||||
echo "✅ ${{ matrix.server }} deployed $expected_sha"
|
echo "Deployed $expected_sha"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "⏳ ${{ matrix.server }}: deployed ${deployed_sha::7}, waiting for ${expected_sha::7}..."
|
echo "Deployed ${deployed_sha::7}, waiting for ${expected_sha::7}..."
|
||||||
sleep 5
|
sleep 10
|
||||||
done
|
done
|
||||||
notify:
|
notify:
|
||||||
if: always()
|
if: always()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue