blob: 5c5d0ef9d7de21c064ea273dd5a4a4dcb35bef5d [file] [log] [blame]
# Provide instructions for google Cloud Build to auto-build flutter
# dashboard to flutter-dashboard project. Auto-build will be triggered
# by new commits to `master` branch.
steps:
# Build app_flutter.
- name: gcr.io/flutter-dashboard/flutter
entrypoint: '/bin/bash'
args: ['cloud_build/app_flutter_build.sh']
# Build angular dart app.
- name: gcr.io/flutter-dashboard/flutter
entrypoint: '/bin/bash'
args: ['cloud_build/app_build.sh']
# Deploy a new version to google cloud.
- name: 'gcr.io/cloud-builders/gcloud'
entrypoint: '/bin/bash'
args: ['cloud_build/deploy.sh', 'flutter-dashboard', '$SHORT_SHA']