diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 409bc7d..417489b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -207,8 +207,15 @@ jobs: fi - name: Push changes - uses: ad-m/github-push-action@v0.6.0 + uses: ad-m/github-push-action@master if: github.ref_name == 'main' with: github_token: ${{ secrets.GITHUB_TOKEN }} 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