Skip to content

Commit

Permalink
Add autodeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
moisses89 committed Mar 5, 2024
1 parent fb975cf commit 47d03b5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/autodeploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

set -ev

curl -s --output /dev/null --write-out "%{http_code}" \
-H "Content-Type: application/json" \
-X POST \
-u "$AUTODEPLOY_TOKEN" \
-d '{"push_data": {"tag": "'$TARGET_ENV'" }}' \
$AUTODEPLOY_URL

0 comments on commit 47d03b5

Please sign in to comment.