diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 224177e4d03..e678a297852 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,13 +32,13 @@ jobs: rsync --del --no-times --checksum -vrm dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DESTINATION_DIR }} ssh -t ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "~/prmanifest --inpath ${{ secrets.DESTINATION_DIR }} --outpath ${{ secrets.DESTINATION_DIR }}/manifest.json" - name: Purge Cloudflare Cache - if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch - id: purge-cache - uses: NathanVaughn/actions-cloudflare-purge@v3.1.0 - with: - cf_auth: ${{ secrets.CLOUDFLARE_API_TOKEN }} - cf_zone: ${{ secrets.CLOUDFLARE_ZONE_ID }} - files: | + if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch + id: purge-cache + uses: NathanVaughn/actions-cloudflare-purge@v3.1.0 + with: + cf_auth: ${{ secrets.CLOUDFLARE_API_TOKEN }} + cf_zone: ${{ secrets.CLOUDFLARE_ZONE_ID }} + files: | https://pokerogue.net/ https://pokerogue.net/index.html https://pokerogue.net/manifest.json \ No newline at end of file