Skip to content

Commit d5758dd

Browse files
authored
Manual workflow trigger (#138)
* feat: manual workflow trigger * feat(sync): manual workflow dispatch
1 parent 3cf65f6 commit d5758dd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/deploy.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- "docker-compose.prod.yml"
1313
- "docker-compose.yml"
1414
- ".github/workflows/deploy.yaml"
15+
workflow_dispatch: # This allows us to trigger the workflow manually
1516

1617
jobs:
1718
push:

.github/workflows/sync.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
paths:
88
- "scripts/**"
99
- ".github/workflows/sync.yaml"
10+
workflow_dispatch: # This allows us to trigger the workflow manually
1011

1112
jobs:
1213
push:
@@ -28,4 +29,4 @@ jobs:
2829
script: |
2930
cd "${PROJECT_DIR}/"
3031
sudo git fetch origin
31-
sudo git reset --hard origin/master
32+
sudo git reset --hard origin/master

0 commit comments

Comments
 (0)