## Prod CI
name: Prod
run-name: Prod

permissions:
  id-token: write
  contents: write
  packages: read
  actions: read
  pull-requests: read
  issues: write

on:
  workflow_dispatch:

jobs:
  prod:
    uses: kaltura/ovp-pipelines-pub/.github/workflows/player_cicd.yaml@jfrog-migration-test
    secrets:
      PLAYER_CENTRAL_ACCOUNT_ID: ${{ secrets.PLAYER_CENTRAL_ACCOUNT_ID }}
      PLAYER_SERVICES_ACCOUNT_ID: ${{ secrets.PLAYER_SERVICES_ACCOUNT_ID }}
      PLAYER_S3_BUCKET_DEPLOYMENT: ${{ secrets.PLAYER_S3_BUCKET_DEPLOYMENT }}
      PLAYER_S3_BUCKET_APPS: ${{ secrets.PLAYER_S3_BUCKET_APPS }}
      PLAYER_NPM_TOKEN: ${{ secrets.PLAYER_NPM_TOKEN }}
      PLAYER_LAMBDA_NAME: ${{ secrets.PLAYER_LAMBDA_NAME }}
      PLAYER_MSTEAMS_WEBHOOK: ${{ secrets.PLAYER_MSTEAMS_WEBHOOK }}
      PLAYER_GITHUB_BOT_TOKEN: ${{ secrets.PLAYER_GITHUB_BOT_TOKEN }}
    with:
      node-version: '24.x'
      type: 'dependency'
      env: 'prod'
      schema-type: 'playerV3Versions'
      tests-npm-run-to-execute: 'test'
