mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2025-01-12 20:26:21 +00:00
fix: set current buildpack as the buildpack to use
This commit is contained in:
parent
1769636cc8
commit
648d73fda6
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -23,6 +23,8 @@ jobs:
|
||||
# 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 }}
|
||||
|
8
bin/ci-pre-deploy
Normal file
8
bin/ci-pre-deploy
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh -l
|
||||
if [ "$IS_REVIEW_APP" = "true" ]; then
|
||||
echo "https://github.com/${GITHUB_REPOSITORY}.git#$GITHUB_SHA" > .buildpacks
|
||||
git add .buildpacks
|
||||
git config --global user.name 'Dokku Bot'
|
||||
git config --global user.email no-reply@dokku.com
|
||||
git commit -m "feat: specify $GITHUB_SHA as buildpack"
|
||||
fi
|
Loading…
Reference in New Issue
Block a user