From d0c2c61f52a29cc5b3fa31c0bb7ca8184cb37b89 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Thu, 6 Jun 2024 19:41:43 -0500 Subject: [PATCH] update preview workflow --- .github/workflows/deploy-preview.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 5fd194f..8a074c8 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -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" \ No newline at end of file