Skip to content

Commit

Permalink
fix: release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
aliscott committed Oct 19, 2023
1 parent a715eda commit f1ffebe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@ on:
name: "Release"

jobs:
release:
release-dev:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- uses: ./.github/workflows/release_dev.yml

release-prod:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
needs: release-dev

steps:
- uses: ./.github/workflows/release_prod.yml
3 changes: 1 addition & 2 deletions .github/workflows/release_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ name: "Release prod"
jobs:
release-prod:
uses: ./.github/workflows/upload_assets.yml
needs: release-dev
with:
aws-region: us-east-2
domain: infracost.io
domain: www-new.infracost.io
infracost-dashboard-api-endpoint: https://dashboard.api.infracost.io
infracost-dashboard-endpoint: https://dashboard.infracost.io
secrets:
Expand Down

0 comments on commit f1ffebe

Please sign in to comment.