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