mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2025-01-28 01:52:26 +00:00
feat: purge cache on every review app deploy
This ensures we test the currently built nginx binary.
This commit is contained in:
parent
e28d2049e5
commit
1a28ec8509
@ -1,6 +1,9 @@
|
|||||||
#!/bin/sh -l
|
#!/bin/sh -l
|
||||||
ls -lah
|
ls -lah
|
||||||
if [ "$IS_REVIEW_APP" = "true" ]; then
|
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
|
echo "https://github.com/${GITHUB_REPOSITORY}.git#$GITHUB_SHA" > .buildpacks
|
||||||
git add .buildpacks
|
git add .buildpacks
|
||||||
git config --global user.name 'Dokku Bot'
|
git config --global user.name 'Dokku Bot'
|
||||||
|
Loading…
Reference in New Issue
Block a user