Skip to content

Commit 2fcb21d

Browse files
committed
Bootstrap cpflow actions for PR deploy checks
1 parent a436726 commit 2fcb21d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/cpflow-deploy-review-app.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ jobs:
6161
ref: ${{ github.event.repository.default_branch }}
6262
persist-credentials: false
6363

64+
- name: Bootstrap generated cpflow actions
65+
if: ${{ hashFiles('.github/actions/cpflow-validate-config/action.yml') == '' }}
66+
shell: bash
67+
run: |
68+
set -euo pipefail
69+
gem install cpflow -v "5.0.0.rc.0" --no-document
70+
ruby -S cpflow generate-github-actions --staging-branch master
71+
6472
- name: Validate required secrets and variables
6573
id: config
6674
uses: ./.github/actions/cpflow-validate-config

0 commit comments

Comments
 (0)