Skip to content

Commit

Permalink
Update deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
kalucky0 committed Aug 21, 2024
1 parent a341059 commit a5e0212
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ jobs:
- name: Build
run: hugo --minify

- name: Deploy to FTP
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
- name: Deploy to BunnyCDN
uses: ayeressian/bunnycdn-storage-deploy@v2.2.2
with:
server: storage.bunnycdn.com
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
local-dir: ./public/
server-dir: /
source: "public"
storageZoneName: "${{ secrets.STORAGE_NAME }}"
storagePassword: "${{ secrets.STORAGE_PASSWORD }}"
accessKey: "${{ secrets.STORAGE_KEY }}"
pullZoneId: "${{ secrets.ZONE_ID }}"
upload: "true"
remove: "false"
purgePullZone: "true"

0 comments on commit a5e0212

Please sign in to comment.