The build failed or did not finish

The build of a deploy or an update failed or did not finish in GitHub Actions. Read the message, fix the repository or its access, then run the job again.

Symptom

The job page of a deploy shows one of these messages, and links the run on GitHub.

The build workflow fleet-build.yml is missing or disabled in this repository. Add it as the Fleet documentation describes or enable it under Actions in GitHub, then deploy again.

The build failed in GitHub Actions. Open the run to read the log, fix the repository, then deploy again.

GitHub Actions did not start or finish the build within 30 minutes. Nothing was deployed. Deploy again, or open the Actions tab of the repository.

The built Worker is larger than Cloudflare allows (64 MiB before compression, on Workers Free and Workers Paid). Reduce the bundle.

These messages mean Fleet cannot reach the repository.

GitHub cannot find the repository <owner>/<name>, so Fleet cannot build or update this site. If it still exists, add it to the Fleet for EmDash installation in GitHub, then try again.

Fleet can no longer reach the repository <owner>/<name>, so it cannot build or update this site. In GitHub, add the repository to the Fleet for EmDash installation again, then try again.

The repository <owner>/<name> is archived in GitHub, so Fleet cannot build or update this site. Unarchive it in GitHub, then try again.

A failed plugin or EmDash update shows one of these messages. The first two say the update run failed or did not finish.

The build failed in GitHub Actions. Open the run to read the log, fix the repository, then run the update again.

GitHub Actions did not start or finish the update run within 30 minutes. Nothing was committed. Run the update again, or open the Actions tab of the repository.

This repository has no active fleet-update.yml, so Fleet cannot prepare the update. Add it as the Fleet documentation describes, then try again.

The default branch changed while Fleet prepared this update, so nothing was committed. Run the update again.

The update run returned files Fleet does not accept, so nothing was committed. Run the update again. If it fails again, contact support and quote job <id>.

GitHub refused the push because the default branch is protected. In GitHub, let Fleet for EmDash push to it in the branch protection rule or ruleset, or switch this site to pull request mode on the site page, then try again.

A member without the sites write permission (sites:write) cannot change the mode and sees this message instead.

GitHub refused the push because the default branch is protected. Ask an Owner or Admin of your account to let Fleet for EmDash push to it in the branch protection rule or ruleset, or to switch this site to pull request mode, then try again.

Cause

The build or update run failed in GitHub Actions, or Fleet cannot reach or push to the repository, so nothing was deployed or committed.

Fix

You need the Developer role or above.

  1. Read the message on the job page. Select the run to open its log on GitHub.
  2. Do the action for your message below.
  3. Select Deploy again, or run the update again.

By message:

  • Workflow missing or disabled: add fleet-build.yml, or fleet-update.yml for an update, as described in Builds and GitHub Actions. Or enable it under Actions in GitHub.
  • Build failed: read the log of the run and fix the repository.
  • Build did not finish: open the Actions tab of the repository, or deploy again. If builds keep failing to start, check the Actions usage of the repository owner. See Builds and the GitHub Actions allowance.
  • Bundle too large: reduce the bundle.
  • Repository not found, unreachable or archived: in GitHub, add the repository to the Fleet for EmDash installation, or unarchive it.
  • Update run failed or did not finish: read the log of the run and fix the repository, or open the Actions tab of the repository.
  • Default branch changed or files not accepted: run the update again. If it fails again, ask from Support in the dashboard with the job number.
  • Branch protected: in GitHub, change the branch protection rule or ruleset of the default branch so Fleet for EmDash may push to it. Or switch the site to pull request mode on the site page. Without sites:write, ask an Owner or Admin of your account to do one of the two.

Prevent

Keep fleet-build.yml and fleet-update.yml enabled in the repository, and the repository unarchived and in the Fleet for EmDash installation. Watch the Actions usage of the repository owner in GitHub.

Report a problem with this page