apify-fix-git-connection

Installation
SKILL.md

Fix an Actor's Git connection

A Git-sourced Actor deploys through two links, and each one breaks on its own:

  • Clone: Apify reads the repository when it builds.
  • Trigger: a push to the repository starts that build.

Diagnose both links, repair the broken ones, then prove the chain with one push. Runs keep using the last successful build the whole time, so the Actor stays up while you work.

The steps use the Apify CLI (apify login first) and the GitHub CLI (gh). They are written for GitHub; GitLab and Bitbucket have the same two links behind different commands and screens.

Two rules hold in every step:

  • Ask before a deploy. A successful build moves the version's build tag (usually latest) to the head of the branch, so starting a build and pushing a commit are both deploys. Get the user's go-ahead for each.
  • Tokens stay with the user. A webhook URL embeds an Apify API token. Print only its host, as the commands below do, and judge a delivery by its status code: its response body repeats the URL. The user performs every step that handles a key, a token or that URL.

1. Find the Git version

Installs
15
GitHub Stars
2.5K
First Seen
3 days ago