update preview workflow

This commit is contained in:
John Bowdre 2024-06-06 19:41:43 -05:00
parent 1472e1fd40
commit d0c2c61f52

View file

@ -1,4 +1,4 @@
name: Deploy Preview to Bunny
name: Build and Deploy Preview
# only run on changes to preview
on:
@ -52,11 +52,11 @@ jobs:
with:
source: public
destination: /
storageZoneName: "${{ secrets.BUNNY_STORAGE_NAME }}"
storagePassword: "${{ secrets.BUNNY_STORAGE_PASSWORD }}"
storageZoneName: "${{ secrets.BUNNY_STORAGE_NAME_PREVIEW }}"
storagePassword: "${{ secrets.BUNNY_STORAGE_PASSWORD_PREVIEW }}"
storageEndpoint: "${{ secrets.BUNNY_STORAGE_ENDPOINT }}"
accessKey: "${{ secrets.BUNNY_API_KEY }}"
pullZoneId: "${{ secrets.BUNNY_ZONE_ID }}"
pullZoneId: "${{ secrets.BUNNY_ZONE_ID_PREVIEW }}"
upload: "true"
remove: "true"
purgePullZone: "true"