Skip to content

Commit

Permalink
refactor(ci): fix multiline if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Nov 29, 2023
1 parent ed9f6aa commit 339963f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/shuttle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ jobs:
- name: Build
run: cargo build --locked --verbose
- name: Deploy
if: ${{ startsWith(github.event.ref, 'refs/tags/v') || \
github.event_name == 'workflow_dispatch' || steps.changes.outputs.manifest == 'true' }}
if: |
${{ startsWith(github.event.ref, 'refs/tags/v') ||
github.event_name == 'workflow_dispatch' ||
steps.changes.outputs.manifest == 'true'
}}
run: |
cargo shuttle login --api-key ${{ secrets.SHUTTLE_TOKEN }}
cargo shuttle project restart
Expand Down

0 comments on commit 339963f

Please sign in to comment.