mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2024-11-28 11:33:05 +00:00
1a28ec8509
This ensures we test the currently built nginx binary.
12 lines
397 B
Bash
12 lines
397 B
Bash
#!/bin/sh -l
|
|
ls -lah
|
|
if [ "$IS_REVIEW_APP" = "true" ]; then
|
|
echo "purging repo cache"
|
|
ssh "$SSH_REMOTE" -- repo:purge-cache "$APP_NAME"
|
|
|
|
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 |