mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2024-11-28 11:33:05 +00:00
070d37fe76
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
29 lines
785 B
YAML
29 lines
785 B
YAML
---
|
|
name: 'review-app'
|
|
|
|
# yamllint disable-line rule:truthy
|
|
on:
|
|
# onl run this workflow on pull request events
|
|
pull_request
|
|
|
|
jobs:
|
|
review_app:
|
|
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:
|
|
# create a review app
|
|
command: review-apps:create
|
|
git_remote_url: 'ssh://dokku@dokku.com/nginx-buildpack'
|
|
# specify `--force` as a flag for git pushes
|
|
git_push_flags: '--force'
|
|
# specify a name for the review app
|
|
review_app_name: nginx-buildpack-${{ github.event.pull_request.number }}
|
|
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|