From 79d2d52fc0b37315c6ffc602ff3b1afa42e88a4f Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 15 Apr 2024 09:33:44 +0300 Subject: [PATCH] deploy --- .gitea/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 0a74f62..4f59b18 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -16,8 +16,9 @@ jobs: run: echo "::set-output name=branch::$(echo ${GITHUB_REF##*/})" - name: Push to dokku + if: steps.branch_name.outputs.branch == 'discours' uses: dokku/github-action@master with: - branch: 'discours' + branch: 'main' git_remote_url: 'ssh://dokku@v2.discours.io:22/authorizer' ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}