From ff2e5b673515d75b8b101a067a57736f923a4d83 Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 25 Jul 2025 01:08:03 +0300 Subject: [PATCH] deploy-fix --- .gitea/workflows/main.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 27556ed0..92b1d8a6 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -26,20 +26,11 @@ jobs: git_remote_url: 'ssh://dokku@v2.discours.io:22/discoursio-api' ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} - - name: Push to dokku for dev branch + - name: Push to v3.dscrs.site branch if: github.ref == 'refs/heads/dev' uses: dokku/github-action@master - with: - branch: 'main' - force: true - git_remote_url: 'ssh://dokku@v2.discours.io:22/core' - ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} - - - name: Push to dokku for staging branch - if: github.ref == 'refs/heads/staging' - uses: dokku/github-action@master with: branch: 'dev' - git_remote_url: 'ssh://dokku@staging.discours.io:22/core' + git_remote_url: 'ssh://dokku@v3.dscrs.site:22/core' ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} git_push_flags: '--force'