Merge branch 'feature/core' of https://dev.discours.io/discours.io/core into feature/core
All checks were successful
deploy / deploy (push) Successful in 1m55s

This commit is contained in:
Untone 2024-01-24 15:36:46 +03:00
commit 7fe026cb41

View File

@ -1,5 +1,6 @@
name: "deploy"
on: [push]
name: 'deploy'
on:
push:
jobs:
deploy:
@ -14,9 +15,14 @@ jobs:
id: repo_name
run: echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY##*/})"
- name: Get Branch Name
id: branch_name
run: echo "::set-output name=branch::$(echo ${GITHUB_REF##*/})"
- name: Push to dokku
uses: dokku/github-action@master
with:
branch: "main"
git_remote_url: "ssh://dokku@v2.discours.io:22/core"
branch: 'main'
git_remote_url: 'ssh://dokku@staging.discours.io:22/${{ steps.repo_name.outputs.repo }}'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
git_push_flags: '--force'