Skip to content

fundarealestate/action-akamai-purge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 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

ref

Required CPCode or Cache Tag to purge

Example usage

uses: ducksify/action-akamai-purge@1.1
id: test
env:
  EDGERC: ${{ secrets.EDGERC }}
with:
  command: 'delete'
  type: 'tag'
  ref: 'testtag'

Packages

No packages published

Languages

  • Dockerfile 58.2%
  • Shell 41.8%