Skip to content

Commit

Permalink
source .env
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 committed Sep 6, 2024
1 parent ce8ddb9 commit 64824c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/rc-push.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
source .env

# Get the current branch name
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
Expand Down Expand Up @@ -47,7 +48,7 @@ echo "Notifying Swarmia about the new release"
# Make the HTTP request to Swarmia
curl -X POST \
https://hook.swarmia.com/deployments \
-H "Authorization: $SWARMIA_TOKEN" \
-H "Authorization: " \
-H "Content-Type: application/json" \
-d '{
"version": "'"$TAG"'",
Expand Down

0 comments on commit 64824c3

Please sign in to comment.