mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 08:46:55 +00:00
Update deploy job
This commit is contained in:
parent
e3533651ba
commit
9a43d456f6
10
.github/workflows/deploy.yml
vendored
10
.github/workflows/deploy.yml
vendored
@ -31,3 +31,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
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
|
||||||
|
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user