From d883f76ed62912448abc0a29639224df1661bc06 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Fri, 16 Aug 2024 16:18:04 +0200 Subject: [PATCH] Only run deployment action on push and on main branch --- .github/workflows/demo-server-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/demo-server-deploy.yml b/.github/workflows/demo-server-deploy.yml index bec635f..11cf097 100644 --- a/.github/workflows/demo-server-deploy.yml +++ b/.github/workflows/demo-server-deploy.yml @@ -1,8 +1,9 @@ name: "Deploy app to demo server (demo.archtika.com)" on: - pull_request: push: + branches: + - main env: SERVER_USER: root