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 run: sed -i 's|default = \[\]|default = \["shuttle"\]|g' Cargo.toml
- name: Login - name: Login
run: cargo shuttle login --api-key ${{ secrets.SHUTTLE_TOKEN }} run: cargo shuttle login --api-key ${{ secrets.SHUTTLE_TOKEN }}
- name: Restart
run: cargo shuttle project restart
- name: Deploy - name: Deploy
run: cargo shuttle deploy --allow-dirty --no-test run: cargo shuttle deploy --allow-dirty --no-test