Skip to content

Commit

Permalink
ci: fix deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yousinix committed Aug 7, 2024
1 parent d1ffc2d commit 8cc3dfc
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
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 != '' }}
# 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 8cc3dfc

Please sign in to comment.