Skip to content

Commit 4223b0a

Browse files
committed
Add Python setup step in CI for fix error.
1 parent 20c580c commit 4223b0a

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/deploy-dev.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ jobs:
1616
path: .github/actions
1717
persist-credentials: false
1818
ssh-key: '${{ secrets.ITERING_ACTIONS_DEPLOY_KEY }}'
19-
19+
- name: Init python
20+
uses: actions/setup-python@v6
21+
with:
22+
python-version: '3.10'
23+
2024
- uses: ./.github/actions/smart-vercel
2125
name: Deploy to Vercel
2226
id: smart-vercel
@@ -25,7 +29,7 @@ jobs:
2529
vercel_token: ${{ secrets.VERCEL_TOKEN }}
2630
vercel_group: itering
2731
preview_output: true
28-
script_install: npm i
32+
script_install: python --version && npm i
2933
script_build: npm run build
3034
alias_domain: multisig-dev
3135

.github/workflows/deploy-prd.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
persist-credentials: false
2020
ssh-key: '${{ secrets.ITERING_ACTIONS_DEPLOY_KEY }}'
2121

22+
- name: Init python
23+
uses: actions/setup-python@v6
24+
with:
25+
python-version: '3.10'
26+
2227
- uses: ./.github/actions/smart-vercel
2328
name: Deploy to Vercel
2429
id: smart-vercel

.github/workflows/deploy-stg.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
persist-credentials: false
1919
ssh-key: '${{ secrets.ITERING_ACTIONS_DEPLOY_KEY }}'
2020

21+
- name: Init python
22+
uses: actions/setup-python@v6
23+
with:
24+
python-version: '3.10'
25+
2126
- uses: ./.github/actions/smart-vercel
2227
name: Deploy to Vercel
2328
id: smart-vercel

0 commit comments

Comments
 (0)