ci: use the stockholm storage endpoint for the site deployment
fbe81e1 parent: d9bf20e modified
.rickub/workflows/deploy-site.yml +2 -1 | @@ -39,12 +39,13 @@ jobs: | ||
| 39 | 39 | run: node site/build.mjs |
| 40 | 40 | |
| 41 | 41 | # enable-delete-action removes from the storage zone every file absent from site/dist |
| 42 | + # The storage zone primary region is Stockholm, hence the se. endpoint | |
| 42 | 43 | - name: Deploy to Bunny CDN |
| 43 | 44 | uses: R-J-dev/bunny-deploy@v2.1.1 |
| 44 | 45 | with: |
| 45 | 46 | access-key: ${{ secrets.BUNNY_ACCESS_KEY }} |
| 46 | 47 | directory-to-upload: "site/dist" |
| 47 | - storage-endpoint: "https://storage.bunnycdn.com" | |
| 48 | + storage-endpoint: "https://se.storage.bunnycdn.com" | |
| 48 | 49 | storage-zone-name: ${{ vars.BUNNY_STORAGE_ZONE }} |
| 49 | 50 | storage-zone-password: ${{ secrets.BUNNY_STORAGE_ZONE_PASSWORD }} |
| 50 | 51 | enable-delete-action: true |
| @@ -39,12 +39,13 @@ jobs: | |||
| 39 | run: node site/build.mjs | 39 | run: node site/build.mjs |
| 40 | 40 | ||
| 41 | # enable-delete-action removes from the storage zone every file absent from site/dist | 41 | # enable-delete-action removes from the storage zone every file absent from site/dist |
| 42 | + # The storage zone primary region is Stockholm, hence the se. endpoint | ||
| 42 | - name: Deploy to Bunny CDN | 43 | - name: Deploy to Bunny CDN |
| 43 | uses: R-J-dev/bunny-deploy@v2.1.1 | 44 | uses: R-J-dev/bunny-deploy@v2.1.1 |
| 44 | with: | 45 | with: |
| 45 | access-key: ${{ secrets.BUNNY_ACCESS_KEY }} | 46 | access-key: ${{ secrets.BUNNY_ACCESS_KEY }} |
| 46 | directory-to-upload: "site/dist" | 47 | directory-to-upload: "site/dist" |
| 47 | - storage-endpoint: "https://storage.bunnycdn.com" | 48 | + storage-endpoint: "https://se.storage.bunnycdn.com" |
| 48 | storage-zone-name: ${{ vars.BUNNY_STORAGE_ZONE }} | 49 | storage-zone-name: ${{ vars.BUNNY_STORAGE_ZONE }} |
| 49 | storage-zone-password: ${{ secrets.BUNNY_STORAGE_ZONE_PASSWORD }} | 50 | storage-zone-password: ${{ secrets.BUNNY_STORAGE_ZONE_PASSWORD }} |
| 50 | enable-delete-action: true | 51 | enable-delete-action: true |