0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Added missing if-statement to CI workflow

- without this, we're constantly purging the cache, which exceeds the
  rate limit afforded to us from jsdelivr
This commit is contained in:
Daniel Lockyer 2024-09-26 19:42:18 +02:00 committed by Daniel Lockyer
parent 26f429be78
commit 75afbb4f2a

View file

@ -1055,6 +1055,7 @@ jobs:
run: npm publish --access public
- name: Purge jsdelivr cache
if: env.version_changed == 'true'
uses: gacts/purge-jsdelivr-cache@v1
with:
url: |