mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
export latest commit variable (#2645)
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
This commit is contained in:
parent
06353ca939
commit
7b44734b9e
@ -9,7 +9,7 @@ if grep -q "Already up to date." /tmp/git_changes.txt; then
|
||||
echo "NO CHANGES"
|
||||
else
|
||||
echo "Reloading..."
|
||||
LATEST_COMMIT=$(git log -1 --format="%H")
|
||||
export LATEST_COMMIT=$(git log -1 --format="%H")
|
||||
docker-compose build
|
||||
docker-compose up -d
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user