diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5a82127f5..34dd81c15 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,7 +7,6 @@ on: - "webapp/**" - "pyproject.toml" branches: [master] - workflow_dispatch: permissions: contents: read @@ -29,6 +28,14 @@ jobs: tar -xvf clever-tools-${CC_VERSION}_linux.tar.gz PATH=${PATH}:$(pwd)/clever-tools-${CC_VERSION}_linux + - name: Install uv + uses: astral-sh/setup-uv@caf0cab7a618c569241d31dcd442f54681755d39 # v3.2.4 + with: + version: "latest" + + - name: Set up Python + run: uv python install 3.12 + - name: Login to Clever Cloud env: CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }} @@ -48,5 +55,9 @@ jobs: CLEVER_APP_ID: ${{ secrets.FE_CLEVER_APP_ID_PROD }} APP_NAME: cc_dashboard_prod run: | + echo $CLEVER_APP_ID + echo $APP_NAME ./clever-tools-latest_linux/clever link $CLEVER_APP_ID - ./clever-tools-latest_linux/clever deploy -f -a $APP_NAME --quiet + # As the clever tools CLI aliasing is escaping _ character, a temporary hard-coded value is needed + # waiting for a fix from Clever + ./clever-tools-latest_linux/clever deploy -f -a ccdashboardprod --quiet