Skip to content

Commit

Permalink
Revert changes to tag and deploy as its successful
Browse files Browse the repository at this point in the history
  • Loading branch information
carlpartridge committed Jan 7, 2025
1 parent 6181e0d commit 1e6b282
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions .github/workflows/tag_and_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,28 @@
name: 'Tag and Deploy Static Site'

on:
push:
# 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'
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'

jobs:
tag_repo:
name: Tag Repo
uses: CMSgov/dpc-app/.github/workflows/tag_release.yml@main
with:
# repo_ref: ${{ inputs.repo_ref }}
repo_ref: 'carl/BCDA-8636-add-github-actions-deploy'
repo_ref: ${{ inputs.repo_ref }}
secrets: inherit
deploy:
# if: ${{ inputs.deploy }}
if: true
if: ${{ inputs.deploy }}
name: Deploy to Staging
needs: tag_repo
uses: ./.github/workflows/deploy.yml
Expand Down

0 comments on commit 1e6b282

Please sign in to comment.