Skip to content

Commit

Permalink
ci: fix deploy workflow (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
yousinix authored Aug 7, 2024
1 parent d1ffc2d commit 5f1d771
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ on:

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 != '' }}
# Avoid running deploy on internal forks (e.g. e2e)
if: github.repository == 'widgetbook/groceries-demo'
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 5f1d771

Please sign in to comment.