diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 0a74f62..4f59b18 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -16,8 +16,9 @@ jobs: run: echo "::set-output name=branch::$(echo ${GITHUB_REF##*/})" - name: Push to dokku + if: steps.branch_name.outputs.branch == 'discours' uses: dokku/github-action@master with: - branch: 'discours' + branch: 'main' git_remote_url: 'ssh://dokku@v2.discours.io:22/authorizer' ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}