From 6f6726a8939574838559021f5f6c0b6ab0317bd2 Mon Sep 17 00:00:00 2001 From: Youssef Raafat Date: Wed, 7 Aug 2024 17:32:54 +0200 Subject: [PATCH] ci: fix deploy workflow --- .github/workflows/deploy.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index ae6a190..a578412 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,15 +1,12 @@ name: Deploy Demo -on: - push: - branches: - - main +on: push jobs: deploy: # Only run it if the service account is set, # to avoid running it on internal forks (e.g. e2e) - if: ${{ secrets.STORAGE_SERVICE_ACCOUNT != '' }} + if: secrets.STORAGE_SERVICE_ACCOUNT != '' runs-on: ubuntu-latest steps: