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'