avr-rust / book.avr-rust.com

The AVR-Rust guidebook
https://book.avr-rust.com/
Other
73 stars 19 forks source link

Updating/deploying the book causing a ~10+ minute outage whilst GitHub builds it #6

Closed dylanmckay closed 3 years ago

dylanmckay commented 3 years ago

The files are already HTML so I don't know what's going on. The book goes completely offline after a push for a bit. At the time of posting this issue, it is down.

asaaki commented 3 years ago

I think this time it seems to be a permanent 404, tried to reload for half an hour or so.

shepmaster commented 3 years ago

Yes, the top-level domain doesn't seem correctly set up.

For now, you can go to https://avr-rust.github.io/book.avr-rust.com/

shepmaster commented 3 years ago

@dylanmckay I updated the repo's settings:

image

Seems to be working again.

dylanmckay commented 3 years ago

I am about to redeploy, we will see how it goes :crossed_fingers:

dylanmckay commented 3 years ago

Deployed from fb0daf9...09d2122

dylanmckay commented 3 years ago

Triggers an outage

book-404

dylanmckay commented 3 years ago

gh-pages-settings

I think I know what is happening - the CNAME file that is committed by setting up the custom domain is lost by the deploy script.

dylanmckay commented 3 years ago

Fixed in 288067c9c04064753cf467065334c8f2ff3a5446.

dylanmckay commented 3 years ago

Redeploying now to test outage

dylanmckay commented 3 years ago

Deployed 614402a...92d011d

dylanmckay commented 3 years ago

No more outage during deployment time, nice.