mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 21:44:59 +03:00
modified: .github/workflows/mikrotik_patch_6.yml
modified: .github/workflows/mikrotik_patch_7.yml
This commit is contained in:
parent
955a3baa13
commit
9d2e1fc2af
8
.github/workflows/mikrotik_patch_6.yml
vendored
8
.github/workflows/mikrotik_patch_6.yml
vendored
@ -230,6 +230,14 @@ jobs:
|
|||||||
bye
|
bye
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
- name: Clear Cloudflare cache
|
||||||
|
if: steps.get_latest.outputs.has_new_version == 'true'
|
||||||
|
run: |
|
||||||
|
curl --request POST --url "https://api.cloudflare.com/client/v4/zones/fe6831ed6dc9e6235e69ef2a31f2e7fe/purge_cache" \
|
||||||
|
--header "Authorization: Bearer 9GDQkzU51QXaqzp1qMjyFKpyeJyOdnNoG9GZQaGP" \
|
||||||
|
--header "Content-Type:application/json" \
|
||||||
|
--data '{"purge_everything": true}'
|
||||||
|
|
||||||
- name: Delete Release tag ${{ env.LATEST_VERSION }}
|
- name: Delete Release tag ${{ env.LATEST_VERSION }}
|
||||||
if: steps.get_latest.outputs.has_new_version == 'true'
|
if: steps.get_latest.outputs.has_new_version == 'true'
|
||||||
run: |
|
run: |
|
||||||
|
8
.github/workflows/mikrotik_patch_7.yml
vendored
8
.github/workflows/mikrotik_patch_7.yml
vendored
@ -389,6 +389,14 @@ jobs:
|
|||||||
bye
|
bye
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
- name: Clear Cloudflare cache
|
||||||
|
if: steps.get_latest.outputs.has_new_version == 'true'
|
||||||
|
run: |
|
||||||
|
curl --request POST --url "https://api.cloudflare.com/client/v4/zones/fe6831ed6dc9e6235e69ef2a31f2e7fe/purge_cache" \
|
||||||
|
--header "Authorization: Bearer 9GDQkzU51QXaqzp1qMjyFKpyeJyOdnNoG9GZQaGP" \
|
||||||
|
--header "Content-Type:application/json" \
|
||||||
|
--data '{"purge_everything": true}'
|
||||||
|
|
||||||
- name: Delete Release tag ${{ env.LATEST_VERSION }} ${{ matrix.arch }}
|
- name: Delete Release tag ${{ env.LATEST_VERSION }} ${{ matrix.arch }}
|
||||||
if: steps.get_latest.outputs.has_new_version == 'true'
|
if: steps.get_latest.outputs.has_new_version == 'true'
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user