From 67b08b6124aadbb22ccd13fd9f00d82560313506 Mon Sep 17 00:00:00 2001 From: Damien Arnodo Date: Wed, 19 Nov 2025 15:20:51 +0000 Subject: [PATCH] Update .gitea/workflows/deploy.yml --- .gitea/workflows/deploy.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 392005a..ff16230 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -11,9 +11,6 @@ jobs: if: github.event.pull_request.merged == true runs-on: self-hosted - container: - image: scaleway/cli:latest - steps: - name: Checkout code uses: actions/checkout@v4 @@ -30,6 +27,11 @@ jobs: - name: Build Hugo site run: hugo --minify + - name: Install Scaleway CLI + run: | + curl -o /usr/local/bin/scw -L "https://github.com/scaleway/scaleway-cli/releases/download/v2.32.0/scaleway-cli_2.32.0_linux_amd64" + chmod +x /usr/local/bin/scw + - name: Configure Scaleway CLI run: | scw init access-key=${{ secrets.SCW_ACCESS_KEY }} \ @@ -43,4 +45,4 @@ jobs: - name: Purge CDN Cache (optional) run: | - scw edge-services pipeline purge pipeline-id=${{ secrets.SCW_PIPELINE_ID }} + scw edge-services pipeline purge pipeline-id=${{ secrets.SCW_PIPELINE_ID }} \ No newline at end of file