Skip to content

Commit

Permalink
Fix conditional in Renovate PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
ccremer committed Dec 20, 2021
1 parent b19e36b commit 2bba2a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.IMAGE_NAME }}

- name: Docker login
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
Expand All @@ -43,13 +44,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
push: true
push: ${{ !startsWith(github.head_ref, 'renovate/') }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

deploy:
# Don't deploy with Renovate PRs
if: ${{ !contains(github.ref, 'refs/heads/renovate/') }}
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
uses: appuio/cloud-portal/.github/workflows/template-deploy.yaml@master
with:
namespace: appuio-control-api-preview
Expand Down
4 changes: 2 additions & 2 deletions deployment/helmfile.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
environments:
preview:
values:
values: []
# If testing out a feature branch of the Helm chart, uncomment the Git url:
- repoUrl: git+https://github.com/appuio/charts@appuio/cloud-portal?ref=cloud-portal
#- repoUrl: git+https://github.com/appuio/charts@appuio/cloud-portal?ref=cloud-portal
integration: {}

repositories:
Expand Down

0 comments on commit 2bba2a1

Please sign in to comment.