Allows you to trigger cache invalidations directly from your Github release workflow.
You need to declare a EDGERC
secret in your repository containing the following structure :
[ccu]
client_secret = your_client_secret
host = your_host
access_token = your_access_token
client_token = your_client_token
Those values can be retrieved from your account on Akamai Control Center.
Required Command to use for purge :
- delete : Delete content
- invalidate : Invalidate content
Required Type of purge :
- cpcode : Purge by cpcode
- tag : Purge by Cache Tag
Required CPCode or Cache Tag to purge
uses: ducksify/action-akamai-purge@1.1
id: test
env:
EDGERC: ${{ secrets.EDGERC }}
with:
command: 'delete'
type: 'tag'
ref: 'testtag'