Using an "app-scoped" token issued in the Dev Dashboard, you can now automate app releases from GitHub Workflows and the like with the latest Shopify CLI. It replaces the old CLI token that was issued in the Partner Dashboard.
Deploying from CI used a CLI token issued in the Partner Dashboard. Its authentication scope was not per-app.
Issued in the Dev Dashboard, an app-scopedtoken. Because each token is tied to an individual app, security and control are improved.
App-scoped authentication. Since each token is limited to a single app, its scope of impact is narrow.
Tokens are issued and managed in the Dev Dashboard (replacing the legacy Partner Dashboard issuance).
Isolating tokens per app improves security and controllability (as stated in the article).
| Item | Old: CLI token | New: App automation token |
|---|---|---|
| Where it's issued | Partner Dashboard | Dev Dashboard |
| Auth scope | Not per-app | Per-app (app-scoped) |
| Current status | Continues to work until it expires | Recommended for new use and as the migration target |
| Recommended action | Migration required | Migration recommended for security and functionality reasons |
| Applicable apps | — | All apps |
Issue an App automation token for the target app in the Dev Dashboard.
SHOPIFY_APP_AUTOMATION_TOKEN and pass it to CI.
shopify app deploy Running it applies the release.
* The above is the command exactly as written in the article.--config production specifies the configuration to deploy, and--allow-updates specifies that the update be applied.
CLI tokens already issued in the Partner Dashboardcontinue to work until they expire. They don't stop working immediately.
Migrating to an App automation token is recommended to improve security and functionality. The article includes a link to a "migration guide."
Because authentication is app-scoped, one token equals one app. The blast radius of a leak is limited to an individual app, and the design prevents touching multiple apps with the same token.
The article explicitly states to use "the latest Shopify CLI." Keep the CLI version in CI up to date. An explicit minimum required version number is not stated.
SHOPIFY_APP_AUTOMATION_TOKEN Pass it via this environment variable. With GitHub Actions, the natural approach is to store it in Secrets and expand it when the job runs.
The example uses --config production and --allow-updates together. It demonstrates a workflow that explicitly specifies the configuration name and applies updates.
Existing CLI tokens created in the Partner Dashboard work until they expire, but they will eventually lapse.Switching to an App automation token in a planned way before expiration suddenly halts your deploysis the safe approach. A specific expiration date or deprecation schedule is not statedin the article, so check the migration guide.
shopify app deploy which led to key-person dependency, missed steps, and late-night work.shopify app deploy --config production --allow-updates .shopify app deploy — that's all it takes.