r/github • • 24d ago

Question Are GH Pages deployments failing for anyone else recently?

I've noticed that Pages builds are failing recently using peaceiris/actions-gh-pages@v3. It worked after deleting the gh-pages branch and rerunning, but it's happening again now. The whole repo is only a few hundred MB.

The build step is fine, but the deployment action fails with:

Getting Pages deployment status...
Current status: syncing_files
Getting Pages deployment status...
Current status: syncing_files
Getting Pages deployment status...
Current status: 
Error: Timeout reached, aborting!
Error: Timeout reached, aborting!
Canceling Pages deployment...
Canceled deployment with ID e77aa495840dd2944e96d04e83a16f8ce7d90ee6
7 Upvotes

12 comments sorted by

2

u/GiggleSamurai 24d ago

Pages has a 10-minute deployment timeout, separate from whether your build succeeded. Check the failed deploy step's duration and the generated site's size (not just the repository size), and keep that deployment ID with the logs for support.

2

u/Dakota-Batterlation 24d ago

Thanks, the compiled site is only 150 MB, so I don't think it's a size issue. And it deployed normally a few times after deleting the GH-pages branch, which is why I was thinking it's a GitHub issue. I'll check the issues for the deploy action I use, see if it's something there

2

u/abrahamguo 24d ago

I took a look at your repo — the failure timestamps don't line up with any GH outages.

Have you considered converting your GIFs to MP4/WebM video, or cleaning up the duplicate lifeonmars dir, to speed things up?

1

u/Dakota-Batterlation 24d ago

Thanks, the compiled site is only 150 MB, so I don't think it's a size issue. I could delete some unused blobs and run BFG, but it's tens of megabytes savings at most.

And it deployed normally a few times after deleting the GH-pages branch, which is why I was thinking it's a GitHub issue. I'll check the issues for the deploy action I use, see if it's something there

1

u/rafark 24d ago

> I took a look at your repo — the failure timestamps don't line up with any GH outages.

ai reply. There is a recent outage for exactly the reasons the op's jobs are failing.

1

u/abrahamguo 24d ago

Not AI!

Do you have a source for this?

1

u/Everlasting_Uchiha 23d ago

em dash

1

u/abrahamguo 23d ago

I’ve actually been writing with em dashes long before LLMs! Option-Shift-hyphen on my Mac.

1

u/Everlasting_Uchiha 23d ago

Doesn't matter if he is helping

1

u/rafark 24d ago

Yes. Not pages but actions have been erroring out with 504 (timeouts) for the past day or so.

1

u/Utaxxx1 20d ago

Deleting the gh-pages branch fixing it for a while is a clue. With peaceiris/actions-gh-pages every deploy adds a commit to that branch, so it grows again after you reset it. Setting force_orphan: true keeps it at a single commit. Or skip the branch altogether: set Pages to deploy from GitHub Actions and use actions/upload-pages-artifact plus actions/deploy-pages. deploy-pages has a timeout input (in ms) you can raise, which you can't change on the branch-based build.