REALLY fix deploy job

This commit is contained in:
maru 2024-04-25 21:42:09 -04:00
parent 251bd3edb1
commit 06f6797ece
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D
1 changed files with 7 additions and 7 deletions

View File

@ -32,13 +32,13 @@ jobs:
rsync --del --no-times --checksum -vrm dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DESTINATION_DIR }} 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" ssh -t ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "~/prmanifest --inpath ${{ secrets.DESTINATION_DIR }} --outpath ${{ secrets.DESTINATION_DIR }}/manifest.json"
- name: Purge Cloudflare Cache - name: Purge Cloudflare Cache
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
id: purge-cache id: purge-cache
uses: NathanVaughn/actions-cloudflare-purge@v3.1.0 uses: NathanVaughn/actions-cloudflare-purge@v3.1.0
with: with:
cf_auth: ${{ secrets.CLOUDFLARE_API_TOKEN }} cf_auth: ${{ secrets.CLOUDFLARE_API_TOKEN }}
cf_zone: ${{ secrets.CLOUDFLARE_ZONE_ID }} cf_zone: ${{ secrets.CLOUDFLARE_ZONE_ID }}
files: | files: |
https://pokerogue.net/ https://pokerogue.net/
https://pokerogue.net/index.html https://pokerogue.net/index.html
https://pokerogue.net/manifest.json https://pokerogue.net/manifest.json