1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2026-03-12 00:35:56 +00:00
Files
buildpack-nginx/.github/workflows/deploy.yml
2026-03-07 11:04:45 -05:00

27 lines
564 B
YAML

---
name: 'deploy'
# yamllint disable-line rule:truthy
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Cloning repo
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Push to dokku
uses: dokku/github-action@master
with:
git_remote_url: 'ssh://dokku@dokku.com/nginx-buildpack'
# specify `--force` as a flag for git pushes
git_push_flags: '--force'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}