From 3332088b21a3bcd591f66542d29f89d52205e54c Mon Sep 17 00:00:00 2001 From: Stepan Vladovskii Date: Wed, 24 Jan 2024 19:14:41 -0300 Subject: [PATCH] debug: actions without yml strange contex --- .gitea/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 6b899284..c867022f 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -21,5 +21,5 @@ jobs: ssh-private-key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }} ssh-host: staging.discours.io ssh-user: dokku - app-name: ${{ steps.branch_name.outputs.branch == 'main' ? 'discoursio-api' : 'core' }} - git-remote-url: ${{ steps.branch_name.outputs.branch == 'main' ? 'ssh://dokku@staging.discours.io:22/discoursio-api' : 'ssh://dokku@staging.discours.io:22/core' }} \ No newline at end of file + app-name: ${{ (steps.branch_name.outputs.branch == 'main') ? 'discoursio-api' : 'core' }} + git-remote-url: ${{ (steps.branch_name.outputs.branch == 'main') ? 'ssh://dokku@staging.discours.io:22/discoursio-api' : 'ssh://dokku@staging.discours.io:22/core' }} \ No newline at end of file