Skip to content

[BUG] Deployment succeeds but action fails with: "supplied version is the current active version" #461

Description

@swet-s

Workflow:

  • uses: FirebaseExtended/action-hosting-deploy@v0

Observed behavior:

  1. Hosting version is created successfully
  2. Files upload successfully
  3. Version is finalized successfully
  4. Site updates correctly
  5. Action exits with code 1

Error:

FAILED_PRECONDITION

Can't release to
projects/-/sites/slide-cube-3/channels/live:

supplied version
projects/.../versions/xxxxxxxx
is the current active version

Expected behavior:

If the version is already active, the action should either:

  • treat it as success, or
  • treat it as a no-op deployment,
    instead of failing the workflow.

firebase-tools version:
15.22.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions