Skip to content

Commit

Permalink
Deploy to staiging from main branch only
Browse files Browse the repository at this point in the history
  • Loading branch information
ppawlowski committed Jan 11, 2024
1 parent 02f64ed commit f8983ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/fileserver-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
temporary_registry_token: ${{ secrets.GITHUB_TOKEN }}

deploy-stage:
if: github.ref_name == 'main'
name: Deploy to staging environment
needs: build-multi-architecture
uses: flowfuse/github-actions-workflows/.github/workflows/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/flowforge-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
temporary_registry_token: ${{ secrets.GITHUB_TOKEN }}

deploy-stage:
if: github.ref_name == 'main'
name: Deploy to staging environment
needs: build-multi-architecture
uses: flowfuse/github-actions-workflows/.github/workflows/[email protected]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nodered-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
temporary_registry_token: ${{ secrets.GITHUB_TOKEN }}
upload-302-stage:
name: Upload image to staging ECR
if: github.ref_name == 'main'
needs: build-302-multi-architecture
uses: flowfuse/github-actions-workflows/.github/workflows/[email protected]
with:
Expand Down Expand Up @@ -107,6 +108,7 @@ jobs:
temporary_registry_token: ${{ secrets.GITHUB_TOKEN }}
upload-223-stage:
name: Upload image to staging ECR
if: github.ref_name == 'main'
needs: build-223-multi-architecture
uses: flowfuse/github-actions-workflows/.github/workflows/[email protected]
with:
Expand Down Expand Up @@ -167,6 +169,7 @@ jobs:
temporary_registry_token: ${{ secrets.GITHUB_TOKEN }}
upload-310-stage:
name: Upload image to staging ECR
if: github.ref_name == 'main'
needs: build-310-multi-architecture
uses: flowfuse/github-actions-workflows/.github/workflows/[email protected]
with:
Expand Down

0 comments on commit f8983ef

Please sign in to comment.