From 6aa81ad7167f61e9239f85a24f9845d2ffb3ed26 Mon Sep 17 00:00:00 2001
From: FloatingGhost <hannah@coffee-and-dreams.uk>
Date: Sat, 11 Jun 2022 19:37:24 +0100
Subject: [PATCH] pls

---
 .woodpecker/.lint.yml    |  2 +-
 .woodpecker/.release.yml | 10 ++++++++--
 .woodpecker/.test.yml    |  2 +-
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/.woodpecker/.lint.yml b/.woodpecker/.lint.yml
index 0bac90d73..d4f6576a3 100644
--- a/.woodpecker/.lint.yml
+++ b/.woodpecker/.lint.yml
@@ -7,4 +7,4 @@ pipeline:
     - mix format --check-formatted
     when:
       event:
-      - push
+      - tag
diff --git a/.woodpecker/.release.yml b/.woodpecker/.release.yml
index d67594a78..34c7dcb37 100644
--- a/.woodpecker/.release.yml
+++ b/.woodpecker/.release.yml
@@ -16,7 +16,7 @@ pipeline:
   glibc:
     when:
       event:
-        - tag
+        - push
     secrets:
     - SCW_ACCESS_KEY
     - SCW_SECRET_KEY
@@ -44,7 +44,7 @@ pipeline:
   musl:
     when:
       event:
-        - tag
+        - push
     secrets:
     - SCW_ACCESS_KEY
     - SCW_SECRET_KEY
@@ -58,6 +58,12 @@ pipeline:
       - rm -rf release || true
       - rm -rf _build || true
       - rm -rf /root/.mix
+      - rm scaleway-cli || true
+      - wget https://github.com/scaleway/scaleway-cli/releases/download/v2.5.1/scaleway-cli_2.5.1_linux_amd64
+      - mv scaleway-cli_2.5.1_linux_amd64 scaleway-cli
+      - chmod +x scaleway-cli
+      - ./scaleway-cli object config install type=rclone
+
       - mix local.hex --force
       - mix local.rebar --force
       - mix deps.clean --all 
diff --git a/.woodpecker/.test.yml b/.woodpecker/.test.yml
index cef743643..b6da1e7f9 100644
--- a/.woodpecker/.test.yml
+++ b/.woodpecker/.test.yml
@@ -10,7 +10,7 @@ pipeline:
     image: pleromaforkci/ci-base:${ELIXIR_VERSION}
     when:
       event:
-      - push
+      - tag
     environment:
       MIX_ENV: test
     commands: