Skip to content

Commit

Permalink
Remove EF Core migrations
Browse files Browse the repository at this point in the history
I added them to the service definition on the server
  • Loading branch information
Simyon264 committed Feb 21, 2024
1 parent e95f44b commit fd9f7b7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ jobs:
ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_IP }} "sudo systemctl stop replaybrowser.client.service"
ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_IP }} "sudo systemctl stop replaybrowser.server.service"
- name: Run EF Core Migrations
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_IP }} "cd /home/${{ secrets.SERVER_USERNAME }}/ReplayBrowser/deploy/Server && dotnet tool install --global dotnet-ef && dotnet ef database update"
- name: Start services
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_IP }} "sudo systemctl start replaybrowser.client.service"
Expand Down

0 comments on commit fd9f7b7

Please sign in to comment.