mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2025-02-16 08:42:25 +00:00
refactor: use ref name instead of sha
This commit is contained in:
parent
53b41ec631
commit
a11d1ce303
@ -19,8 +19,8 @@ if [ "$IS_REVIEW_APP" = "true" ]; then
|
|||||||
git add mime.types
|
git add mime.types
|
||||||
git commit -qm "feat: specify custom mime.types"
|
git commit -qm "feat: specify custom mime.types"
|
||||||
|
|
||||||
echo "-----> Setting the buildpack to the current commit"
|
echo "-----> Setting the buildpack to the current ref $GITHUB_REF_NAME"
|
||||||
echo "https://github.com/${GITHUB_REPOSITORY}.git#$GITHUB_SHA" > .buildpacks
|
echo "https://github.com/${GITHUB_REPOSITORY}.git#$GITHUB_REF_NAME" > .buildpacks
|
||||||
git add .buildpacks
|
git add .buildpacks
|
||||||
git commit -qm "feat: specify $GITHUB_SHA as buildpack"
|
git commit -qm "feat: specify $GITHUB_SHA as buildpack"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user