Skip to content

Commit cc84bd8

Browse files
committed
chore(deploy): correct script path in server push scripts
1 parent c354d86 commit cc84bd8

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

helpers/push_production.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
1+
#!/bin/sh
32
echo "pushing to PRODUCTION"
4-
export server=flut
5-
./helpers/push_to_server.sh
3+
server=flut "$(dirname $0)/push_to_server.sh"

helpers/push_staging.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/bash
2-
1+
#!/bin/sh
32
echo "pushing to staging"
4-
export server=ebbe
5-
./helpers/push_to_server.sh
3+
server=ebbe "$(dirname $0)/push_to_server.sh"

helpers/push_to_server.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

3-
if [ -z "$server" ]; then
3+
if test -z "$server"; then
44
# server is not set or ""
55
echo "please call push_staging.sh or push_production.sh"
66
exit 1

0 commit comments

Comments
 (0)