Travis should printout the hash of files which generated during building. This way we can verify whether or not the deployed file is actually generated by Travis CI.
This commit is contained in:
@@ -67,6 +67,7 @@ before_deploy:
|
|||||||
- echo "$SSHWIFTY_VERSION" > ./deploy_title
|
- echo "$SSHWIFTY_VERSION" > ./deploy_title
|
||||||
- echo "ghr -u \"\$(cat ./deploy_user)\" -b \"\$(cat ./.tmp/deploy/Note)\" -delete -prerelease \"\$(cat ./deploy_title)\" ./.tmp/deploy" > ./deploy.sh
|
- echo "ghr -u \"\$(cat ./deploy_user)\" -b \"\$(cat ./.tmp/deploy/Note)\" -delete -prerelease \"\$(cat ./deploy_title)\" ./.tmp/deploy" > ./deploy.sh
|
||||||
- chmod +x ./deploy.sh
|
- chmod +x ./deploy.sh
|
||||||
|
- cat ./.tmp/deploy/SUM.sha512
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
|
|||||||
Reference in New Issue
Block a user