Upload to R2
This Composite Action uploads an artifact to Cloudflare R2.
R2 upload artifact
- uses: Yellow-Dog-Man/composite-actions-templates/.github/actions/upload-to-r2@main
with:
file-path: (1)
r2-storage-bucket: (2)
r2-api-id: (3)
r2-auth-token-id: (4)
r2-auth-token: (5)
r2-region: (6)
r2-path: (7)
Path to the file being uploaded
Storage bucket to use to store the artifacts
Account ID for R2
ID of the authentication token for R2
Authentication token for R2
Region for the R2 account
Path within R2 where to put the file.
Uploads a directory to R2.
Inputs: ยค
| Name | Description |
|---|---|
file-path
|
Path to the file being uploaded |
r2-storage-bucket
|
Storage bucket to use to store the artifacts |
r2-api-id
|
Account ID for R2 |
r2-auth-token-id
|
ID of the authentication token for R2 |
r2-auth-token
|
Authentication token for R2 |
r2-region
|
Region for the R2 account |
r2-path
|
Path within R2 where to put the file. |
Source of Yellow-Dog-Man/composite-actions-templates/.github/actions/upload-to-r2@main
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | |