Skip to content

Commit

Permalink
Restore 5x deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 14, 2024
1 parent c4ae14a commit d384148
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy_5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: 'deploy_5.x'

on:
push:
branches:
- 5.x
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/5.next' }}

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Cloning repo
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Push to dokku
uses: dokku/github-action@master
with:
git_remote_url: 'ssh://[email protected]:22/book-5'
git_push_flags: '-f'
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}

0 comments on commit d384148

Please sign in to comment.