diff --git a/.harness/firebase-deploy.yaml b/.harness/firebase-deploy.yaml index 96daa39..67aa305 100644 --- a/.harness/firebase-deploy.yaml +++ b/.harness/firebase-deploy.yaml @@ -63,9 +63,4 @@ spec: GITLAB_PAT: ${{ secrets.get("resume-gitlab-gitlab-breel-dev-token") }} shell: sh script: | - f=$(mktemp) - cat open-resume.com.d/local-storage-about-srcdoc-open-resume.json | sed 's/"[^"]*":/"."/g' > $f - vale sync - vale $f || true - bash ./deploy.firebase.sh diff --git a/deploy.firebase.sh b/deploy.firebase.sh index 3134eb4..ae153cc 100755 --- a/deploy.firebase.sh +++ b/deploy.firebase.sh @@ -4,6 +4,12 @@ set -o pipefail set -e set -u +if which vale; then + f=$(mktemp) + cat open-resume.com.d/local-storage-about-srcdoc-open-resume.json | sed 's/"[^"]*":/"."/g' > $f + vale sync + vale $f || true +fi if tty && ! which firebase; then f="$(mktemp)"