The action purges cache for the given CDN resource in Yandex Cloud.
Table of Contents
- name: Purge CDN cache
id: purge-cache
uses: yc-actions/yc-cdn-cache@v1
with:
yc-sa-json-credentials: ${{ secrets.YC_SA_JSON_CREDENTIALS }}
cdn-resource-id: bc8********
yc-sa-json-credentials
should contain JSON with authorized key for Service Account. More info in Yandex Cloud IAM documentation.
See action.yml for the full documentation for this action's inputs and outputs.
To perform this action, it is required that the service account on behalf of which we are acting has granted the cdn.editor
role or greater.
This code is made available under the MIT license.