From 9fea0281d518821d7782feeb69091f0733f655cd Mon Sep 17 00:00:00 2001 From: Dmitry Sinina Date: Sun, 12 Jan 2025 22:56:10 +0200 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32176c3..f6fbd2d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,12 +31,9 @@ jobs: - name: deploy run: "rclone -I sync _build my-remote:" - - - name: prepare directory structure - run: mkdir _build2 && cp -a _build/en/html _build2/en - + - name: deploy2 env: S3_ACCESS_KEY: ${{secrets.S3_ACCESS_KEY}} S3_SECRET_KEY: ${{secrets.S3_SECRET_KEY}} - run: s4cmd --endpoint-url=${{secrets.S3_ENDPOINT_URL}} dsync -s -r --delete-removed _build2/ s3://${{secrets.S3_BUCKET}}/ + run: s4cmd --endpoint-url=${{secrets.S3_ENDPOINT_URL}} dsync -s -r --delete-removed _build/en/html/ s3://${{secrets.S3_BUCKET}}/