cleanup #25
Workflow file for this run
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: 'Tag and Deploy Site' | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
deploy: | ||
description: 'Also deploy to staging?' | ||
type: boolean | ||
default: true | ||
required: true | ||
repo_ref: | ||
description: 'Which branch or tag?' | ||
required: true | ||
default: 'main' | ||
type: 'string' | ||
push: | ||
paths: | ||
- .github/workflows/release.yml | ||
jobs: | ||
tag_repo: | ||
name: Tag Repo | ||
uses: CMSgov/dpc-app/.github/workflows/tag_release.yml@main | ||
Check failure on line 22 in .github/workflows/release.yml GitHub Actions / .github/workflows/release.ymlInvalid workflow file
|
||
with: | ||
repo_ref: ${{ inputs.repo_ref }} | ||
secrets: inherit | ||
deploy: | ||
if: ${{ inputs.deploy }} | ||
name: Deploy to Staging | ||
needs: tag_repo | ||
uses: ./.github/workflows/deploy.yml | ||
with: | ||
target_environment: staging | ||
static_repo_ref: ${{ needs.tag_repo.outputs.tag }} | ||
secrets: inherit |