We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8da1038 commit b856d58Copy full SHA for b856d58
1 file changed
.github/workflows/validate-servers.yml
@@ -35,15 +35,10 @@ jobs:
35
- name: Checkout
36
uses: actions/checkout@v2
37
38
- - name: Configure AWS credentials
39
- uses: aws-actions/configure-aws-credentials@v1
40
- with:
41
- aws-region: us-east-1
42
-
43
- name: Upload to R2
44
env:
45
CF_R2_ACCESS_KEY_ID: ${{ secrets.CF_R2_ACCESS_KEY_ID }}
46
CF_R2_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_SECRET_ACCESS_KEY }}
47
CF_R2_URL: ${{ secrets.CF_R2_URL }}
48
run: |
49
- aws s3 cp servers.json s3://$CF_R2_URL/servers.json --endpoint-url https://$CF_R2_URL
+ aws s3 cp servers.json s3://$CF_R2_URL/servers.json --endpoint-url https://$CF_R2_URL --content-type "application/json" --cache-control "public, max-age=86400"
0 commit comments