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