Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 1.2 KB

README.md

File metadata and controls

54 lines (45 loc) · 1.2 KB

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'