Fix meilisearch tests and jobs for oban
[akkoma] / .woodpecker / .release.yml
index d67594a781db14019f9d1fef9a7378f9fa86e1d7..28043aa655d5792964178589cdebf90fb1aa7a16 100644 (file)
@@ -16,7 +16,9 @@ pipeline:
   glibc:
     when:
       event:
-        - tag
+        - push
+      branch:
+        - develop
     secrets:
     - SCW_ACCESS_KEY
     - SCW_SECRET_KEY
@@ -44,7 +46,9 @@ pipeline:
   musl:
     when:
       event:
-        - tag
+        - push
+      branch:
+        - develop
     secrets:
     - SCW_ACCESS_KEY
     - SCW_SECRET_KEY
@@ -58,6 +62,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