Skip to content

Commit

Permalink
Merge pull request #73 from dokku/deploy-on-ci
Browse files Browse the repository at this point in the history
feat: always deploy latest on merge to master
  • Loading branch information
josegonzalez authored Aug 21, 2023
2 parents 2f08d68 + 863aab6 commit 14c2741
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: 'review-app'

# yamllint disable-line rule:truthy
on:
push:
branches:
- master
- main

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

- name: Push to dokku
uses: dokku/github-action@master
with:
git_remote_url: 'ssh://[email protected]/nginx-buildpack'
# specify `--force` as a flag for git pushes
git_push_flags: '--force'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}

0 comments on commit 14c2741

Please sign in to comment.