From a0ba907f6d4347fd2a9ef263ea947487837da6f6 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Fri, 17 Jun 2022 12:19:12 +0100 Subject: [PATCH] build on push --- .woodpecker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index e4e5e296..d652bde4 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -34,7 +34,7 @@ pipeline: release: when: event: - - tag + - push image: node:16 secrets: - SCW_ACCESS_KEY @@ -47,4 +47,4 @@ pipeline: - chmod +x scaleway-cli - ./scaleway-cli object config install type=rclone - zip akkoma-fe.zip -r dist - - rclone copyto akkoma-fe.zip scaleway:akkoma-updates/frontend/akkoma-fe.zip + - rclone copyto akkoma-fe.zip scaleway:akkoma-updates/frontend/$CI_COMMIT_BRANCH/akkoma-fe.zip