From 91b958c188a22aad50c6ec3750b02d8795ad3fef Mon Sep 17 00:00:00 2001 From: Stepan Vladovskii Date: Sat, 27 Jan 2024 20:49:22 -0300 Subject: [PATCH] feat: add in CI pipe line to dokku@v2.discours.io/presence --- .gitea/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index c88393d..5d7da8c 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -14,9 +14,13 @@ jobs: id: repo_name run: echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY##*/})" + - name: Get Branch Name + id: branch_name + run: echo "::set-output name=branch::$(echo ${GITHUB_REF##*/})" + - name: Push to dokku uses: dokku/github-action@master with: branch: 'main' - git_remote_url: 'ssh://dokku@staging.discours.io:22/${{ steps.repo_name.outputs.repo }}' + git_remote_url: 'ssh://dokku@v2.discours.io:22/presence' ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} \ No newline at end of file