Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jdettmannnava committed Dec 16, 2024
1 parent c0a89d7 commit b9d63bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
tag_site:
name: Tag Site
uses: CMSGov/dpc-app/.github/workflows/tag_release.yml@jd/dpc-4433-gha-deploy-static
uses: ./.github/workflows/tag_release.yml
with:
repo_ref: main
secrets: inherit
Expand All @@ -21,12 +21,11 @@ jobs:
- name: Verify output
env:
OUTPUT: ${{ needs.tag_site.outputs.next_rev }}
TEST_ONE: ${{ needs.tag_site.outputs.test_one }}
TEST_TWO: ${{ needs.tag_site.outputs.test_two }}
TEST_THREE: ${{ needs.tag_site.outputs.test_three }}
run: |
echo $OUTPUT
deploy:
name: Deploy to staging
needs: tag_site
uses: ./.github/workflows/fake_deploy.yml
with:
target_environment: staging
static_repo_ref: ${{ needs.tag_site.outputs.next_rev }}
echo $TEST_ONE
echo $TEST_TWO
echo $TEST_THREE
2 changes: 2 additions & 0 deletions .github/workflows/tag_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
runs-on: ubuntu-latest
outputs:
next_rev: ${{ steps.set_revs.outputs.next_rev }}
test_one: test_one
test_two: test_three=bar
steps:
- name: "Checkout code"
uses: actions/checkout@v4
Expand Down

0 comments on commit b9d63bf

Please sign in to comment.