Skip to content

ducksify/action-akamai-purge

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ducksify logo

Akamai Purge Github Action

GitHub license

Description

Allows you to trigger cache invalidations directly from your Github release workflow.

Requirements

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.

Inputs

command

Required Command to use for purge :

  • delete : Delete content
  • invalidate : Invalidate content

type

Required Type of purge :

  • cpcode : Purge by cpcode
  • tag : Purge by Cache Tag
  • url : Purge by URL

ref

Required CPCode, URL, or Cache Tag to purge

Example usage

uses: ducksify/[email protected]
id: test
env:
  EDGERC: ${{ secrets.EDGERC }}
with:
  command: 'delete'
  type: 'tag'
  ref: 'testtag'