mms-gianni / action-akamai-purge

Akamai Purge Github Action

Home Page:https://ducksify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/action-akamai-purge@1.1
id: test
env:
  EDGERC: ${{ secrets.EDGERC }}
with:
  command: 'delete'
  type: 'tag'
  ref: 'testtag'

About

Akamai Purge Github Action

https://ducksify.com/

License:Apache License 2.0


Languages

Language:Dockerfile 57.1%Language:Shell 42.9%