Skip to content

Commit

Permalink
Fix cloudflare upload (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTripleV authored Dec 10, 2023
1 parent 537a5be commit 5f0b588
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,14 @@ jobs:
github.repository_owner == 'wpilibsuite' &&
startsWith(github.ref, 'refs/tags/v')
run: jfrog rt u "**/*" "installer/${GITHUB_REF#refs/tags/}/"
- name: Setup Rclone
uses: AnimMouse/setup-rclone@v1
- name: Upload to Cloudflare
if: |
github.repository_owner == 'wpilibsuite' &&
startsWith(github.ref, 'refs/tags/v')
uses: andreiio/rclone-action@v1
with:
args: copy "." "s3:wpilib1-enam/installer/${GITHUB_REF#refs/tags/}/"
run: |
rclone copy "." "s3:wpilib1-enam/installer/${GITHUB_REF#refs/tags/}/"
env:
RCLONE_CONFIG_S3_TYPE: s3
RCLONE_CONFIG_S3_PROVIDER: Cloudflare
Expand Down

0 comments on commit 5f0b588

Please sign in to comment.