Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
- "webapp/**"
- "pyproject.toml"
branches: [master]
workflow_dispatch:

permissions:
contents: read
Expand All @@ -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 }}
Expand All @@ -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
Loading