mirror of
https://github.com/fullstack-cash/wallet.fullstack.cash.git
synced 2026-09-22 09:12:05 -07:00
14 lines
324 B
Bash
Executable File
14 lines
324 B
Bash
Executable File
# Triggers a webhook to update the server
|
|
|
|
#!/bin/bash
|
|
#echo $DEPLOY_SECRET
|
|
|
|
echo "Deploy to production...."
|
|
|
|
export DATA="{\"ref\":\"$DEPLOY_SECRET\"}"
|
|
|
|
#echo $DATA
|
|
|
|
curl -X POST http://fullstack.cash:9000/hooks/wallet.fullstack.cash -H "Content-Type: application/json" -d $DATA
|
|
echo "...Finished deploying to production."
|