Skip to content

Clear Akamai Cache #162

Clear Akamai Cache

Clear Akamai Cache #162

Workflow file for this run

name: Clear Akamai Cache
on:
workflow_call:
inputs:
cpCode:
description: 'CP Code'
required: true
type: string
network:
description: 'Network'
required: true
type: string
workflow_dispatch:
inputs:
cpCode:
description: 'CP Code'
type: string
required: true
default: '1551836'
network:
description: 'Network'
type: choice
required: true
default: 'staging'
options:
- 'staging'
- 'production'
jobs:
clear-cache:
name: Clear Cache
runs-on: ubuntu-latest
steps:
- name: Clear Cache
uses: jdmevo123/[email protected]
env:
EDGERC: ${{ secrets.EDGERC }}
with:
command: 'invalidate'
type: 'cpcode'
ref: ${{ inputs.cpCode }}
network: ${{ inputs.network }}