name: Unstable channel

on:
  push:
    branches:
      - 'version-*-dev'
  workflow_dispatch:

permissions:
  contents: read

jobs:
  deploy:
    if: github.repository_owner == 'google'
    uses: ./.github/workflows/update-cache-and-deployment.yaml
    with:
      update-cache: false
      deploy-channel: unstable
    secrets:
      artifact-registry-uploader-json-creds: ${{ secrets.ARTIFACT_REGISTRY_UPLOADER }}
