1
0
mirror of synced 2026-01-06 06:02:35 -05:00
Files
docs/data/reusables/release-notes/2024-02-pages-deployment-error.md
release-controller[bot] be29ce4093 Patch release notes for GitHub Enterprise Server (#49406)
Co-authored-by: Release-Controller <releasecontroller@github.com>
Co-authored-by: Junior Eluhu <82401060+jeluhu@users.noreply.github.com>
Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com>
2024-02-29 17:08:03 +00:00

643 B

On an instance with GitHub Actions enabled, Actions workflows that deploy GitHub Pages sites may fail with the following error:

Error: Deployment failed, try again later.

To fix this issue, connect to any of the instance's nodes using SSH, then run the following commands.

if [ -d "$CHROOT_PATH/data/pages-untar" ] ; then
  rm -rf "$CHROOT_PATH/data/pages-untar"
fi
pages_untar_image_tag="$(cat "$CHROOT_PATH/data/docker-image-tags/pages_untar_image_tag")"
id="$(docker create "pages-untar:$pages_untar_image_tag")"
sudo docker cp "$id:/data/pages-untar" "$BASE_PATH/$CHROOT_PATH/data/pages-untar/"
docker rm "$id"