Skip to content

Commit d384148

Browse files
committed
Restore 5x deploy action
1 parent c4ae14a commit d384148

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/deploy_5.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: 'deploy_5.x'
3+
4+
on:
5+
push:
6+
branches:
7+
- 5.x
8+
workflow_dispatch:
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: ${{ github.ref != 'refs/heads/5.next' }}
13+
14+
jobs:
15+
deploy:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Cloning repo
19+
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Push to dokku
24+
uses: dokku/github-action@master
25+
with:
26+
git_remote_url: 'ssh://[email protected]:22/book-5'
27+
git_push_flags: '-f'
28+
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}

0 commit comments

Comments
 (0)