Skip to content

Commit 987997c

Browse files
Copilotbenoit-ctyinimazSaboniAmine
authored
Fix: Add missing uv installation to deploy workflow (#934)
* Initial plan * Fix: Add missing uv installation to deploy workflow Co-authored-by: benoit-cty <6603048+benoit-cty@users.noreply.github.com> * fix: fix env var values for deploy and remove manual trigger --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: benoit-cty <6603048+benoit-cty@users.noreply.github.com> Co-authored-by: inimaz <49730431+inimaz@users.noreply.github.com> Co-authored-by: Amine Saboni <saboni.amine@gmail.com>
1 parent 8d7acf4 commit 987997c

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
- "webapp/**"
88
- "pyproject.toml"
99
branches: [master]
10-
workflow_dispatch:
1110

1211
permissions:
1312
contents: read
@@ -29,6 +28,14 @@ jobs:
2928
tar -xvf clever-tools-${CC_VERSION}_linux.tar.gz
3029
PATH=${PATH}:$(pwd)/clever-tools-${CC_VERSION}_linux
3130
31+
- name: Install uv
32+
uses: astral-sh/setup-uv@caf0cab7a618c569241d31dcd442f54681755d39 # v3.2.4
33+
with:
34+
version: "latest"
35+
36+
- name: Set up Python
37+
run: uv python install 3.12
38+
3239
- name: Login to Clever Cloud
3340
env:
3441
CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}
@@ -48,5 +55,9 @@ jobs:
4855
CLEVER_APP_ID: ${{ secrets.FE_CLEVER_APP_ID_PROD }}
4956
APP_NAME: cc_dashboard_prod
5057
run: |
58+
echo $CLEVER_APP_ID
59+
echo $APP_NAME
5160
./clever-tools-latest_linux/clever link $CLEVER_APP_ID
52-
./clever-tools-latest_linux/clever deploy -f -a $APP_NAME --quiet
61+
# As the clever tools CLI aliasing is escaping _ character, a temporary hard-coded value is needed
62+
# waiting for a fix from Clever
63+
./clever-tools-latest_linux/clever deploy -f -a ccdashboardprod --quiet

0 commit comments

Comments
 (0)