Skip to content

Commit 803a168

Browse files
committed
fix deploy script
1 parent a0f3d83 commit 803a168

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
@@ -3,17 +3,14 @@ name: Deploy Bot
33
# Only runs after PRs have been merged into master
44
on:
55
workflow_dispatch:
6-
pull_request:
7-
types: [closed]
8-
branches:
9-
- master
6+
push:
7+
branches: ["master"]
108

119
jobs:
1210
deploy:
1311
name: Deploy Bot
1412
runs-on: 'ubuntu-latest'
1513
environment: production
16-
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
1714
steps:
1815
- name: SSH Remote Commands
1916
uses: appleboy/[email protected]

0 commit comments

Comments
 (0)