feat: migrate CI to v2 strange update of yml
All checks were successful
deploy / deploy (push) Successful in 1m48s
All checks were successful
deploy / deploy (push) Successful in 1m48s
This commit is contained in:
parent
0923070111
commit
ac31a96a89
|
@ -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'
|
Loading…
Reference in New Issue
Block a user