Skip to content

Commit bdba6c0

Browse files
authored
feat: Make deploy workflow manual trigger only
1 parent aab1e3a commit bdba6c0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Deploy
22

3-
on:
4-
push:
5-
branches:
6-
- main
3+
on: workflow_dispatch
74

85
jobs:
96
deploy:
@@ -27,4 +24,4 @@ jobs:
2724
cd ${{ secrets.APP_PATH }}
2825
git pull
2926
systemctl restart ${{ secrets.SERVICE_NAME }}
30-
ENDSSH
27+
ENDSSH

0 commit comments

Comments
 (0)