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: