diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e0b896c..d5862ba 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,17 +3,14 @@ name: Deploy Bot # Only runs after PRs have been merged into master on: workflow_dispatch: - pull_request: - types: [closed] - branches: - - master + push: + branches: ["master"] jobs: deploy: name: Deploy Bot runs-on: 'ubuntu-latest' environment: production - if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' steps: - name: SSH Remote Commands uses: appleboy/ssh-action@v0.1.4