Skip to content

Commit

Permalink
This is really scuffed
Browse files Browse the repository at this point in the history
  • Loading branch information
WillNilges committed Aug 4, 2024
1 parent 771081e commit 5202a2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-to-k8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
deploy_to_env:
name: Deploy to env
runs-on: ubuntu-latest
environment: ${{ inputs.environment }}
#needs: push_to_registry # FIXME!!!!!!!!!!!!!!!!!!!!!!!
#if: github.ref == 'refs/heads/main' # FIXME!!!!!!!!!!!!!!!!!!!
steps:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,16 @@ jobs:
deploy_to_dev3:
name: Deploy to dev 3
uses: ./.github/workflows/deploy-to-k8s.yaml
environment: dev3
with:
environment: dev3
secrets: inherit
needs: push_to_registry

deploy_to_prod1:
name: Deploy to prod 1
uses: ./.github/workflows/deploy-to-k8s.yaml
environment: prod1
with:
environment: prod1
secrets: inherit
needs: push_to_registry
if: github.ref == 'refs/heads/main'

0 comments on commit 5202a2e

Please sign in to comment.