bel 2023-10-11 20:24:43 -06:00
parent edaf7b7efd
commit 8184467dc2
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ spec:
spec: spec:
name: build name: build
container: alpine/git container: alpine/git
shell: bash shell: sh
script: > script: >
bash ./deploy.firebase.sh '${{ sh ./deploy.firebase.sh '${{
secrets.get("resume-firebase-squeaky2x3-gmail-token") }}' secrets.get("resume-firebase-squeaky2x3-gmail-token") }}'

View File

@ -1,4 +1,4 @@
#! /bin/bash #! /bin/sh
set -o pipefail set -o pipefail
set -e set -e
@ -8,7 +8,7 @@ if ! which firebase; then
f="$(mktemp)" f="$(mktemp)"
curl -sL https://firebase.tools > "$f" curl -sL https://firebase.tools > "$f"
export upgrade=true export upgrade=true
sudo bash "$f" $(if tty &> /dev/null; then echo sudo; fi) sh "$f"
fi fi
outdir=./deploy outdir=./deploy