Skip to content

Commit

Permalink
Manual workflow trigger (#138)
Browse files Browse the repository at this point in the history
* feat: manual workflow trigger

* feat(sync): manual workflow dispatch
  • Loading branch information
proffapt committed May 31, 2024
1 parent 3cf65f6 commit d5758dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- "docker-compose.prod.yml"
- "docker-compose.yml"
- ".github/workflows/deploy.yaml"
workflow_dispatch: # This allows us to trigger the workflow manually

jobs:
push:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
paths:
- "scripts/**"
- ".github/workflows/sync.yaml"
workflow_dispatch: # This allows us to trigger the workflow manually

jobs:
push:
Expand All @@ -28,4 +29,4 @@ jobs:
script: |
cd "${PROJECT_DIR}/"
sudo git fetch origin
sudo git reset --hard origin/master
sudo git reset --hard origin/master

0 comments on commit d5758dd

Please sign in to comment.