Adds a delay after push.
parent
1ff2086d5a
commit
eb6579c665
|
@ -207,8 +207,15 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: ad-m/github-push-action@v0.6.0
|
uses: ad-m/github-push-action@master
|
||||||
if: github.ref_name == 'main'
|
if: github.ref_name == 'main'
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
branch: ${{ github.ref }}
|
branch: ${{ github.ref }}
|
||||||
|
|
||||||
|
# GitHub shows an inconsistent delay with pulling right after pushing. Since we push
|
||||||
|
# for multiple distributions, we have to make sure the next checkout doesn't conflict
|
||||||
|
# with the current.
|
||||||
|
- name: Delay 30 seconds for pushed changes to be visible
|
||||||
|
run: sleep 30s
|
||||||
|
shell: bash
|
||||||
|
|
Loading…
Reference in New Issue