Skip to content

Clear Akamai Cache #185

Clear Akamai Cache

Clear Akamai Cache #185

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, 1551836 (prod) / 1551833 (stage)'
type: string
required: true
default: '1551836'
network:
description: 'Network'
type: choice
required: true
default: 'staging'
options:
- 'staging'
- 'production'
command:
description: 'Command'
type: choice
required: true
default: 'invalidate'
options:
- 'invalidate'
- 'delete'
jobs:
clear-cache:
name: Clear Cache
runs-on: ubuntu-latest
steps:
- name: Clear Cache
uses: jdmevo123/[email protected]
env:
EDGERC: ${{ secrets.EDGERC }}
with:
command: ${{ inputs.command }}
type: 'cpcode'
ref: ${{ inputs.cpCode }}
network: ${{ inputs.network }}