diff --git a/.github/workflows/initialize-edge-app.yml b/.github/workflows/initialize-edge-app.yml index 29fce8e..48932f3 100644 --- a/.github/workflows/initialize-edge-app.yml +++ b/.github/workflows/initialize-edge-app.yml @@ -32,9 +32,10 @@ jobs: - uses: actions/checkout@v7 with: ref: ${{ inputs.environment == 'production' && 'main' || github.ref }} - - uses: Screenly/edge-apps-actions/initialize@v1 + - uses: Screenly/edge-apps-actions/initialize@f4ccd2bd50db5fb0a5147d287ac03cafe552d29b with: screenly_api_token: ${{ secrets.SCREENLY_API_TOKEN }} edge_app_name: ${{ inputs.edge_app_name }} edge_app_title: ${{ inputs.edge_app_title }} environment: ${{ inputs.environment }} + edge_app_id: ${{ secrets.EDGE_APP_ID || (inputs.environment == 'production' && vars.PRODUCTION_EDGE_APP_ID || (inputs.environment == 'stage' && vars.STAGE_EDGE_APP_ID)) }} diff --git a/.github/workflows/update-edge-app.yml b/.github/workflows/update-edge-app.yml index 5591779..3897267 100644 --- a/.github/workflows/update-edge-app.yml +++ b/.github/workflows/update-edge-app.yml @@ -18,11 +18,12 @@ jobs: environment: stage steps: - uses: actions/checkout@v7 - - uses: Screenly/edge-apps-actions/update@v1 + - uses: Screenly/edge-apps-actions/update@f4ccd2bd50db5fb0a5147d287ac03cafe552d29b with: screenly_api_token: ${{ secrets.SCREENLY_API_TOKEN }} environment: stage delete_missing_settings: 'true' + edge_app_id: ${{ secrets.EDGE_APP_ID || vars.STAGE_EDGE_APP_ID }} deploy-production: name: Updating Simple Table App in production @@ -31,8 +32,9 @@ jobs: environment: production steps: - uses: actions/checkout@v7 - - uses: Screenly/edge-apps-actions/update@v1 + - uses: Screenly/edge-apps-actions/update@f4ccd2bd50db5fb0a5147d287ac03cafe552d29b with: screenly_api_token: ${{ secrets.SCREENLY_API_TOKEN }} environment: production delete_missing_settings: 'true' + edge_app_id: ${{ secrets.EDGE_APP_ID || vars.PRODUCTION_EDGE_APP_ID }} diff --git a/screenly.yml b/screenly.yml index 3f77eea..b11bc97 100644 --- a/screenly.yml +++ b/screenly.yml @@ -1,6 +1,5 @@ --- syntax: manifest_v1 -id: 01K8902JESR65C9YAW78KVAYX5 description: Simple Table App - Display CSV data as a formatted table icon: https://playground.srly.io/edge-apps/simple-table-app/static/images/icon.svg author: Screenly, Inc. diff --git a/screenly_qc.yml b/screenly_qc.yml deleted file mode 100644 index 7a39435..0000000 --- a/screenly_qc.yml +++ /dev/null @@ -1,57 +0,0 @@ ---- -syntax: manifest_v1 -id: 01K83XNMPZHBH5B0FHG15C6JZ9 -description: Simple Table App - Display CSV data as a formatted table -icon: https://playground.srly.io/edge-apps/simple-table-app/static/images/icon.svg -author: Screenly, Inc. -entrypoint: - type: file -categories: - - Utilities -ready_signal: true -settings: - content: - type: string - default_value: | - Name,Age - John,25 - Jane,30 - title: CSV Content - optional: false - help_text: - properties: - help_text: Enter your CSV data here. The first row will be treated as headers. Use commas to separate columns and new lines to separate rows. - type: textarea - schema_version: 1 - display_errors: - type: string - default_value: 'false' - title: Display Errors - optional: true - help_text: - properties: - advanced: true - help_text: For debugging purposes to display errors on the screen. - type: boolean - schema_version: 1 - override_locale: - type: string - default_value: '' - title: Override Locale - optional: true - help_text: | - Locale for time formatting. Leave empty to use the browser's default locale. - override_timezone: - type: string - default_value: '' - title: Override Timezone - optional: true - help_text: | - Timezone for time display. Leave empty to use the player's location-based timezone. - title: - type: string - default_value: '' - title: Table Title - optional: true - help_text: | - Optional title to display above the table. Leave empty to hide.