Update with basic TinaCMS F5 experience #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tina Migration - build and deploy | |
on: | |
push: | |
branches: | |
- tina/main | |
workflow_dispatch: | |
inputs: | |
should_generate_commit_data: | |
type: boolean | |
description: 'Generate commit data' | |
default: true | |
jobs: | |
build: | |
name: Build | |
uses: ./.github/workflows/template-build.yml | |
with: | |
branch_name: ${{ github.ref }} | |
environment: staging | |
should_generate_commit_data: false | |
secrets: inherit | |
deploy: | |
concurrency: | |
group: tina-deploy | |
cancel-in-progress: false | |
needs: build | |
name: Deploy | |
uses: ./.github/workflows/template-deploy.yml | |
with: | |
environment: staging | |
storageAccountName: tina | |
secrets: inherit |