Skip to content

Commit

Permalink
Merge pull request #95 from Avivsalem/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
Avivsalem authored Nov 7, 2023
2 parents 12bc9d1 + 3caaa50 commit 4723deb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event_name == 'push') }} # run only if tests succeeded or run manually
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success'}} # run only if tests succeeded or run manually
steps:
- name: Post the screenshot
env:
EVENT_OBJ: ${{ toJson(github.event) }}
run: echo $EVENT_OBJ

# Checkout the latest code from the repo
- name: Checkout repo
uses: actions/checkout@v3
Expand Down

0 comments on commit 4723deb

Please sign in to comment.