chore(deploy): restart the project before deployment

This commit is contained in:
Orhun Parmaksız 2023-05-17 04:23:01 +03:00
parent 9e61cca98e
commit e3a634b7af
No known key found for this signature in database
GPG key ID: F83424824B3E4B90

View file

@ -27,5 +27,7 @@ jobs:
run: sed -i 's|default = \[\]|default = \["shuttle"\]|g' Cargo.toml
- name: Login
run: cargo shuttle login --api-key ${{ secrets.SHUTTLE_TOKEN }}
- name: Restart
run: cargo shuttle project restart
- name: Deploy
run: cargo shuttle deploy --allow-dirty --no-test