From 930750c04a353f12ede8c9584809db582823803f Mon Sep 17 00:00:00 2001 From: Igor Kharakhordin Date: Tue, 25 Aug 2026 13:48:22 +0200 Subject: [PATCH] Replace outdated DO action with s3cmd --- upload-artifact-qb/action.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/upload-artifact-qb/action.yml b/upload-artifact-qb/action.yml index 83e7afc..3f500bc 100644 --- a/upload-artifact-qb/action.yml +++ b/upload-artifact-qb/action.yml @@ -10,16 +10,24 @@ inputs: artifact: description: 'Path of the artifact' required: true + space-name: + description: 'Digital Ocean Space name' + required: false + default: 'quickbird-artifacts' + space-region: + description: 'Digital Ocean Space region' + required: false + default: 'fra1' runs: using: "composite" steps: - name: 'Upload as artifact' - uses: BetaHuhn/do-spaces-action@latest - with: - access_key: ${{ inputs.access-key }} - secret_key: ${{ inputs.secret-key }} - space_name: quickbird-artifacts - space_region: fra1 - source: ${{ inputs.artifact }} - out_dir: ${{ github.event.repository.name }} \ No newline at end of file + shell: bash + run: | + s3cmd put "${{ inputs.artifact }}" \ + "s3://${{ inputs.space-name }}/${{ github.event.repository.name }}/" \ + --access_key="${{ inputs.access-key }}" \ + --secret_key="${{ inputs.secret-key }}" \ + --host="${{ inputs.space-region }}.digitaloceanspaces.com" \ + --host-bucket="%(bucket)s.${{ inputs.space-region }}.digitaloceanspaces.com"