Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-sinina authored Jan 12, 2025
1 parent 482a02d commit 9fea028
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}/

0 comments on commit 9fea028

Please sign in to comment.