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