diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 8d2053f1..6109fd26 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -1,6 +1,8 @@ -name: 'deploy' +name: 'Deploy to core' on: push: + branches: + - main jobs: deploy: @@ -23,6 +25,7 @@ jobs: 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/core' ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} - git_push_flags: '--force' \ No newline at end of file + git_push_flags: '--force' +