Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MWPW-158533 Add Akamai purge command choice #815

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/clear-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
workflow_dispatch:
inputs:
cpCode:
description: 'CP Code'
description: 'CP Code, 1551836 (prod) / 1551833 (stage)'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

type: string
required: true
default: '1551836'
Expand All @@ -27,6 +27,14 @@ on:
options:
- 'staging'
- 'production'
command:
description: 'Command'
type: choice
required: true
default: 'invalidate'
options:
- 'invalidate'
- 'delete'

jobs:
clear-cache:
Expand All @@ -38,7 +46,7 @@ jobs:
env:
EDGERC: ${{ secrets.EDGERC }}
with:
command: 'invalidate'
command: ${{ inputs.command }}
type: 'cpcode'
ref: ${{ inputs.cpCode }}
ref: ${{ inputs.cpCode }}
network: ${{ inputs.network }}
Loading