mirror of
https://github.com/containous/traefik.git
synced 2025-10-08 19:33:30 +03:00
rewrite deploy tests
This commit is contained in:
7
script/deploy.sh
Normal file → Executable file
7
script/deploy.sh
Normal file → Executable file
@@ -1,6 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
if ([ "$TRAVIS_BRANCH" = "master" ] || [ ! -z "$TRAVIS_TAG" ]) && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
|
||||
echo "Deploying"
|
||||
else
|
||||
echo "Skipping deploy"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
curl -LO https://github.com/tcnksm/ghr/releases/download/pre-release/linux_amd64.zip
|
||||
unzip -q linux_amd64.zip
|
||||
sudo mv grh /usr/bin/ghr
|
||||
|
Reference in New Issue
Block a user