added check for cd to only run on passed test run

This commit is contained in:
Aaro Koivukangas
2023-11-11 20:04:45 +02:00
parent b657386482
commit 7c87fcff57
+4
View File
@@ -39,6 +39,10 @@ jobs:
- name: Run RuboCop
run: bundle exec rubocop --parallel
deploy:
runs-on: ubuntu-22.04
needs: test
steps:
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env: