update(envato): update vuexy item page image #103
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: push | |
| name: π Upload assets on bunny cnd assets-storage - PixInvent | |
| jobs: | |
| web-deploy: | |
| name: π Upload | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: π Get latest code | |
| uses: actions/checkout@v3 | |
| - name: π Sync files | |
| uses: SamKirkland/FTP-Deploy-Action@v4.3.5 | |
| with: | |
| server: uk.storage.bunnycdn.com | |
| username: assets-storage | |
| password: ${{ secrets.ftp_password }} | |
| server-dir: pi-assets/ | |
| local-dir: ./ | |
| dangerous-clean-slate: false | |
| exclude: | | |
| **/.git* | |
| **/.git*/** | |
| **/.github* | |
| **/.gitignore* | |
| **/node_modules/** | |
| - name: π Purge Bunny CDN Cache | |
| env: | |
| BUNNY_API_KEY: ${{ secrets.BUNNY_API_KEY }} | |
| BUNNY_ZONE_ID: ${{ secrets.BUNNY_ZONE_ID }} | |
| run: | | |
| # Purge entire zone cache | |
| curl -X POST "https://api.bunny.net/pullzones/$BUNNY_ZONE_ID/purgeCache" \ | |
| -H "AccessKey: $BUNNY_API_KEY" \ | |
| -H "Content-Type: application/json" \ | |
| -d '{"async": true}' |