Updated pipeline firebase-deploy

main
bel 2023-10-12 02:09:00 +00:00 committed by Gitness
parent 30baf3ffef
commit dff3bf2179
1 changed files with 11 additions and 2 deletions

View File

@ -6,11 +6,20 @@ spec:
type: ci type: ci
spec: spec:
steps: steps:
- name: debug
type: run
spec:
name: debug
shell: sh
script: |
echo build.event = ${{ build.event }}
echo build.target = ${{ build.target }}
- name: build - name: build
type: run type: run
when: build.event == "branch_updated" && build.target == "main" when: build.event == "branch_updated" && build.target == "main"
spec: spec:
name: build name: build
shell: bash shell: bash
script: | script: >
bash ./deploy.firebase.sh '${{ secrets.get("resume-firebase-squeaky2x3-gmail-token") }}' bash ./deploy.firebase.sh '${{
secrets.get("resume-firebase-squeaky2x3-gmail-token") }}'