Skip to content

Commit

Permalink
Temporarily check for production deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
tomouchuu committed Oct 21, 2023
1 parent 08b4ebb commit 3f7b0fb
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ jobs:
needs: create-release-pr
name: Publish frontend
runs-on: ubuntu-latest
if: |
needs.create-release-pr.outputs.hasChangesets == 'false' && (
contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/tsconfig') == true ||
contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/utils') == true ||
contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/frontend') == true
)
# if: |
# needs.create-release-pr.outputs.hasChangesets == 'false' && (
# contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/tsconfig') == true ||
# contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/utils') == true ||
# contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/frontend') == true
# )
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand All @@ -78,12 +78,12 @@ jobs:
needs: create-release-pr
name: Publish backend
runs-on: ubuntu-latest
if: |
needs.create-release-pr.outputs.hasChangesets == 'false' && (
contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/tsconfig') == true ||
contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/utils') == true ||
contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/backend') == true
)
# if: |
# needs.create-release-pr.outputs.hasChangesets == 'false' && (
# contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/tsconfig') == true ||
# contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/utils') == true ||
# contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/backend') == true
# )
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand Down

0 comments on commit 3f7b0fb

Please sign in to comment.