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 f3ea037..25ba3cd 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 Welcome 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 fc74193..ee393e3 100644 --- a/screenly.yml +++ b/screenly.yml @@ -1,6 +1,5 @@ --- syntax: manifest_v1 -id: 01JSY5XJ0J06P1YJDKR2MKEDP3 description: Screenly Welcome App. icon: https://playground.srly.io/edge-apps/welcome-app/static/images/icon.svg author: Screenly, Inc. diff --git a/screenly_qc.yml b/screenly_qc.yml deleted file mode 100644 index 2783ceb..0000000 --- a/screenly_qc.yml +++ /dev/null @@ -1,53 +0,0 @@ ---- -syntax: manifest_v1 -id: 01JZHPBTR1RMMHATDHAJ0V4H7N -description: Screenly Welcome App. -icon: https://playground.srly.io/edge-apps/welcome-app/static/images/icon.svg -author: Screenly, Inc. -categories: - - Messaging & Content -ready_signal: true -settings: - enable_analytics: - type: string - default_value: 'true' - title: Enable Analytics - optional: true - help_text: Enable or disable Sentry and Google Analytics integrations. - is_global: true - override_locale: - type: string - default_value: en - title: Override Locale - optional: true - help_text: | - Override the default locale with a supported language code (e.g., en_US, fr_FR, de_DE). - override_timezone: - type: string - default_value: '' - title: Override Timezone - optional: true - help_text: | - Override the default timezone with a supported timezone identifier (e.g., Europe/London, America/New_York). - tag_manager_id: - type: string - default_value: GTM-P98SPZ9Z - title: Google Tag Manager ID - optional: true - help_text: | - Enter your Google Tag Manager container ID to enable tracking and analytics. - is_global: true - welcome_heading: - type: string - default_value: Welcome - title: Message Heading - optional: false - help_text: | - Enter the heading text that will be displayed as the welcome message title. - welcome_message: - type: string - default_value: to the team - title: Message Body - optional: false - help_text: | - Enter the body text that will be displayed as the welcome message content.