Skip to content

Releases: Screenly/edge-apps-actions

v26.10.2

Choose a tag to compare

@salmanfarisvp salmanfarisvp released this 26 Oct 09:32
466ab0d

Adds reusable workflows, so an app's callers shrink to a few lines that pin Screenly/edge-apps-actions/.github/workflows/{checks,initialize,update}.yml@v26.10.2 (see examples/ and the README).

Behaviour to know before bumping:

  • Deploys queue, they don't cancel. One deploy runs per environment; a newer push waits, and a still newer one replaces the waiting run. A running deploy is never cancelled.
  • Stage deploys only from the default branch (push or manual run); production only from a v* tag on the default branch, through the production environment's reviewers.
  • Initialize has its own queue, so a push can't replace a queued Initialize.
  • delete_missing_settings defaults to true in the reusable update workflow (the update action still defaults to false).
  • After re-running a deploy that stopped part-way, check the live revision in Screenly (see README).

The action logic moved to scripts/ with tests; a package.json that can't be parsed now fails instead of deploying the repo root.

What's Changed

  • Add reusable checks/initialize/update workflows; queue deploys by @salmanfarisvp in #25

Full Changelog: v26.10.1...v26.10.2

v26.10.1

Choose a tag to compare

@salmanfarisvp salmanfarisvp released this 24 Oct 08:20
7186950

Call out the behaviour changes: initialize rejects some name/title characters and fails when the environment's id variable is already set, build detection now uses the build script.

What's Changed

Full Changelog: v26.10.0...v26.10.1

v26.10.0

Choose a tag to compare

@salmanfarisvp salmanfarisvp released this 08 Oct 04:35
5da8e48

What's Changed

  • docs: add example initialize and update workflows by @salmanfarisvp in #18
  • fix: fail-safe edge_app_id handling and clearer setup docs by @salmanfarisvp in #19
  • docs: deploy stage from main, production from version tags in update example by @salmanfarisvp in #20

Behavior change

initialize and update now fail closed on bad inputs instead of continuing:

  • An empty screenly_api_token fails immediately with a message to add the SCREENLY_API_TOKEN secret for that environment.
  • environment must be exactly stage or production; anything else fails.
  • update requires a real edge_app_id. Empty values and placeholders left by bad expressions (false, true, null, none, 0, undefined) fail with a message pointing at STAGE_EDGE_APP_ID / PRODUCTION_EDGE_APP_ID.
  • initialize treats those same placeholders as unset, so a first-time create is not sent a bogus id.

Review before bumping your pin: make sure each environment has SCREENLY_API_TOKEN and that update jobs pass the matching repo variable.

Example workflows

examples/update-edge-app.yml now deploys stage on every push to the default branch (rolling) and production when a version tag like v26.10.0 is pushed. The production job skips tag deletions and refuses tags whose commit is not on the default branch. Copy it into your app repo to adopt the same release flow.

Usage

- uses: Screenly/edge-apps-actions/update@v26.10.0
  with:
    screenly_api_token: ${{ secrets.SCREENLY_API_TOKEN }}
    environment: stage
    edge_app_id: ${{ vars.STAGE_EDGE_APP_ID }}

Requires screenly/cli v26.9.0 or later. The legacy v1 tag is frozen and does not include this change; pin an explicit v26.10.0.

Full Changelog: v26.9.1...v26.10.0

v26.9.1

Choose a tag to compare

@salmanfarisvp salmanfarisvp released this 21 Sep 13:00
e93c02d

What's Changed

  • feat: Always use screenly.yml; drop screenly_qc.yml branching by @salmanfarisvp in #17

Behavior change

initialize and update now always set MANIFEST_FILE_NAME=screenly.yml for both stage and production. The legacy fallback that selected screenly_qc.yml on stage when edge_app_id was empty has been removed, since it broke first-time initialize for apps that ship a single manifest.

If you still keep a separate screenly_qc.yml for stage, review before bumping your pin: move to a single screenly.yml and supply the Edge App id per environment via edge_app_id (vars.STAGE_EDGE_APP_ID / vars.PRODUCTION_EDGE_APP_ID). When edge_app_id is set it is exported as EDGE_APP_ID and takes precedence over any id in the manifest. On first-time initialize, omit it.

Usage

- uses: Screenly/edge-apps-actions/update@v26.9.1
  with:
    screenly_api_token: ${{ secrets.SCREENLY_API_TOKEN }}
    environment: stage
    edge_app_id: ${{ vars.STAGE_EDGE_APP_ID }}

Requires screenly/cli v26.9.0 or later. Note that the legacy v1 tag is frozen and does not include this change, pin an explicit v26.9.1.

Full Changelog: v26.9.0...v26.9.1

v26.9.0

Choose a tag to compare

@salmanfarisvp salmanfarisvp released this 08 Sep 05:29
f4ccd2b

What's Changed

Full Changelog: v1.3.0...v26.9.0

v1.3.0

Choose a tag to compare

@nicomiguelino nicomiguelino released this 24 Apr 20:32
v1.3.0
0c567ab

What's Changed

  • Add delete_missing_settings input to update composite action for deleting settings that exist on the server but not in the manifest by @nicomiguelino in #6

Full Changelog: v1.2.2...v1.3.0

v1.2.2

Choose a tag to compare

@nicomiguelino nicomiguelino released this 24 Apr 15:59
v1.2.2
eef5b9a

What's Changed

  • Remove edge app listing steps from update composite action to avoid logging app names in workflow output by @nicomiguelino

Full Changelog: v1.2.1...v1.2.2

v1.2.1

Choose a tag to compare

@nicomiguelino nicomiguelino released this 24 Apr 15:48
v1.2.1
532359e

What's Changed

  • Add API token verification and edge app name listing to update composite action for easier debugging by @nicomiguelino in #5

Full Changelog: v1.2.0...v1.2.1

v1.2.0

Choose a tag to compare

@nicomiguelino nicomiguelino released this 22 Apr 14:55
v1.2.0
3734fcd

What's Changed

  • Add update composite action for building and deploying an existing Screenly Edge App by @nicomiguelino in #4

Full Changelog: v1.1.0...v1.2.0

v1.1.0

Choose a tag to compare

@nicomiguelino nicomiguelino released this 22 Apr 04:54
v1.1.0
4e05fa4

What's Changed

  • Add initialize composite action for creating and deploying a new Screenly Edge App instance by @nicomiguelino in #2
  • Document initialize action in README with usage example and inputs table by @nicomiguelino in #3
  • Update CONTRIBUTING.md to use generic version placeholders by @nicomiguelino in #3

Full Changelog: v1.0.0...v1.1.0