Skip to content

Commit

Permalink
fix: removed tag based deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
hrideshmg committed Oct 3, 2024
1 parent 9b27288 commit c708ce7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Deploy the backend

# Only deploy when version tags (eg: v1.0.0) are pushed
on:
push:
tags:
- "v*.*.*"

jobs:
deploy:
Expand All @@ -20,5 +17,5 @@ jobs:
script: |
cd src/Backend
git fetch origin
git reset --hard ${{ github.ref_name }}
git reset --hard origin/main
sudo systemctl restart webserver.service

0 comments on commit c708ce7

Please sign in to comment.