Skip to content

Commit

Permalink
Merge pull request #24 from S3-Platform-Inc/feature/12-s3-sync
Browse files Browse the repository at this point in the history
Fixed #12 Fix upload to s3
  • Loading branch information
CuberHuber authored Nov 12, 2024
2 parents 2a5fe56 + 1f24bbd commit c834bef
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/sync-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Prepare files for upload
run: |
mkdir -p _temp_upload_files
cp -r src _temp_upload_files/
cp plugin.xml _temp_upload_files
- name: S3 Sync
uses: peter-evans/s3-backup@v1
env:
Expand All @@ -30,6 +36,6 @@ jobs:
MIRROR_TARGET: '${{ secrets.S3_BACKET_NAME }}${{ secrets.S3_MIRROR_PATH }}${{ env.REPO_OWNER }}/${{ env.REPO_NAME }}'
STORAGE_SERVICE_URL: ${{ secrets.S3_SERVICE_URL }}
AWS_REGION: ${{ secrets.S3_REGION }}
MIRROR_SOURCE: './'
MIRROR_SOURCE: './_temp_upload_files'
with:
args: --overwrite --remove

0 comments on commit c834bef

Please sign in to comment.