From 12c0176712ea6c4770fcfba470ae4a0b7f0d1f79 Mon Sep 17 00:00:00 2001 From: Ishan Jain Date: Wed, 6 Apr 2022 00:50:46 +0530 Subject: [PATCH] change how we install rclone --- .github/workflows/build-publish-pipeline.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-publish-pipeline.yml b/.github/workflows/build-publish-pipeline.yml index fa3e03a..9d4b8c7 100644 --- a/.github/workflows/build-publish-pipeline.yml +++ b/.github/workflows/build-publish-pipeline.yml @@ -30,9 +30,14 @@ jobs: set -e set -o pipefail - sudo apt update -y # Install rclone - sudo apt install rclone -y + curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip + unzip rclone-current-linux-amd64.zip + cd rclone-*-linux-amd64 + + sudo cp rclone /usr/bin/ + sudo chown root:root /usr/bin/rclone + sudo chmod 755 /usr/bin/rclone # Create a S3 target rclone config create s3 s3 provider=DigitalOcean env_auth=true region=fra1 endpoint=fra1.digitaloceanspaces.com acl=public-read