Skip to content

[CICD] Invalidate Cache For Katalon Studio #2

[CICD] Invalidate Cache For Katalon Studio

[CICD] Invalidate Cache For Katalon Studio #2

Workflow file for this run

name: "[CICD] Invalidate Cache For Katalon Studio"
on:
workflow_dispatch:
inputs:
cloudfront_id:
description: CloudFront Id
required: true
default: E1S9HCHW5N31CV
cloudfront_object_paths:
description: Object Paths to invalidate cache
required: true
default: '/latest_v9_version.json'
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
env:
AWS_ACCOUNT_ID: "346625874447" # Prod
jobs:
invalidate_cache:
runs-on: ubuntu-latest
name: Invalidate Cache Katalon Studio
environment: prod
env:
SERVICE_NAME: katalon
steps:
- uses: actions/checkout@v3
- name: Invalidate CloudFront cache
uses: katalon-studio/katalon-base-actions/actions/invalidate-cloudfront-cache@main
with:
aws_account_id: ${{ env.AWS_ACCOUNT_ID }}
cloudfront_id: ${{ inputs.cloudfront_id }}
cloudfront_object_paths: ${{ inputs.cloudfront_object_paths }}