Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
fracek committed Dec 15, 2024
1 parent 9919f24 commit fa1a69d
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,9 @@ jobs:
- name: checkout
uses: actions/checkout@v2

- uses: andreiio/rclone-action@v1
name: Sync to Cloudflare R2
- name: Setup Rclone
uses: AnimMouse/setup-rclone@v1
with:
args: sync docs s3:apibara-docs/docs/ --stats-one-line -v
env:
RCLONE_CONFIG_S3_TYPE: s3
RCLONE_CONFIG_S3_PROVIDER: Cloudflare
RCLONE_CONFIG_S3_ACL: private
RCLONE_CONFIG_S3_ENDPOINT: ${{ secrets.R2_ENDPOINT }}
RCLONE_CONFIG_S3_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
RCLONE_CONFIG_S3_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
rclone_config: ${{ secrets.RCLONE_CONFIG }}

- run: "rclone sync docs s3:docs/ --stats-one-line -v"

0 comments on commit fa1a69d

Please sign in to comment.