Skip to content

Update deploy workflow for 5.next #1

Update deploy workflow for 5.next

Update deploy workflow for 5.next #1

Workflow file for this run

---
name: 'deploy_5.next'
on:
push:
branches:
- 5.next
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-5next'
git_push_flags: '-f'
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}